Fix how attachment URLs are handled

This commit is contained in:
Samuel-Martineau 2023-10-27 17:21:30 -04:00
parent 887383bdb6
commit 674f40a06e
No known key found for this signature in database
GPG Key ID: B39D48310AD30CE4
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ export async function outputProcessing<T extends Row[] | Row>(
continue
}
row[property].forEach((attachment: RowAttachment) => {
attachment.url = objectStore.getAppFileUrl(attachment.key)
attachment.url ??= objectStore.getAppFileUrl(attachment.key)
})
}
} else if (