This commit is contained in:
Adria Navarro 2025-04-10 17:31:04 +02:00
parent eaa3c410d1
commit d15881edd3
1 changed files with 2 additions and 2 deletions

View File

@ -36,9 +36,9 @@ export async function generateRows(
for (const attachmentValue of entry[column.name]) {
let attachment
if (typeof attachmentValue === "object") {
attachment = await uploadUrl(attachmentValue)
} else {
attachment = await uploadFile(attachmentValue)
} else {
attachment = await uploadUrl(attachmentValue)
}
if (attachment) {
attachmentData[column.name].push(attachment)