Skip to content

Commit

Permalink
fix: backlog creation - skip empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 committed Aug 17, 2024
1 parent 9179c5d commit f6f54f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatedTasks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ async function addBacklogToDatabase(db, payload) {
const backlogToInsert = {
title: payload.title,
platform: (payload.platform !== undefined) ? platformToInt(payload.platform) : null,
notes: payload.notes || null
notes: (payload.notes) ? payload.notes : null
}

// statments
Expand Down

0 comments on commit f6f54f6

Please sign in to comment.