Fix getKnownMessageAttachments query

This commit is contained in:
Fedor Indutny 2022-11-17 12:06:19 -08:00 committed by GitHub
parent cf43726664
commit efa29dc800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 3 deletions

View file

@ -5182,7 +5182,7 @@ async function getKnownMessageAttachments(
count += 1;
}
const done = messages.length < chunkSize;
const done = rowids.length < chunkSize;
return {
attachments: Array.from(result),
cursor: { runId, count, done },