Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for breaking change for NaN values in integer columns
  • Loading branch information
regalijan committed Aug 23, 2024
1 parent a91aad9 commit 40707d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/inactivity/new.ts
Expand Up @@ -27,7 +27,7 @@ export async function onRequestPost(context: RequestContext) {
Date.now(),
JSON.stringify(departments),
end,
Number(hiatus),
typeof hiatus === "boolean" ? Number(hiatus) : 0,
inactivityId,
reason,
start,
Expand Down

0 comments on commit 40707d1

Please sign in to comment.