Skip to content

Commit

Permalink
Merge pull request #12205 from Samuel-Martineau/fix-attachments-remot…
Browse files Browse the repository at this point in the history
…e-urls

Fix how attachment URLs are handled
  • Loading branch information
mike12345567 authored Oct 30, 2023
2 parents 9229ab6 + a3756d0 commit 8568989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/utilities/rowProcessor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 8568989

Please sign in to comment.