mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-21 01:13:15 +00:00
fix: stop store pagination if response field is missing
This commit is contained in:
parent
cfece62e2a
commit
5ddca918ca
@ -217,6 +217,7 @@ export class WakuStore {
|
||||
|
||||
if (!reply.response) {
|
||||
dbg("No message returned from store: `response` field missing");
|
||||
return messages;
|
||||
}
|
||||
|
||||
const response = reply.response as protoV2Beta4.HistoryResponse;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user