Skip to content

Commit 349c2d6

Browse files
devversionkara
authored andcommitted
build: fix payload function invalid diff (#5059)
1 parent a6456a2 commit 349c2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/dashboard/functions/payload-github-status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const payloadGithubStatus = https.onRequest(async (request, response) =>
1515
return response.status(404).json({message: 'No commit has been specified'});
1616
}
1717

18-
if (!payloadDiff || isNaN(payloadDiff)) {
18+
if (isNaN(payloadDiff)) {
1919
return response.status(400).json({message: 'No valid payload diff has been specified.'});
2020
}
2121

0 commit comments

Comments
 (0)