Skip to content

Commit

Permalink
fix: set tag default to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocorallo committed Feb 12, 2024
1 parent ec89d21 commit 00a547d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function getParsedSheets() {
attachments:
DriveClient.matchFileIds(r.immaginiQuesito || '') || undefined,
validated: (r.validato as string | undefined)?.toLowerCase() == 'sì',
tags: r.tag ? r.tag.split(';') : []
tags: r.tag ? r.tag.split(';') : undefined
}))

res['com'] = res['com']?.map((q, _, arr) => {
Expand Down

0 comments on commit 00a547d

Please sign in to comment.