Merge pull request #12205 from Samuel-Martineau/fix-attachments-remote-urls

Fix how attachment URLs are handled
This commit is contained in:
Michael Drury 2023-10-30 15:28:29 +00:00 committed by GitHub
commit 856898990b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (