Skip to content

Commit

Permalink
fix sometimes name is false
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Jun 17, 2024
1 parent db80b71 commit be82f0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ async function serveResult(request) {
}
if (result.success == false) {
code = 400
delete result.name
}
let response = new Response(JSON.stringify(result), {
status: code,
Expand Down

0 comments on commit be82f0a

Please sign in to comment.