Skip to content

Commit

Permalink
update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Jun 8, 2024
1 parent e720696 commit 7fc3ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ async function serveResult(request) {
let dc = new URL(request.url).searchParams.get('decode')
let code = 200
let result = await callAPI(request)
if (result.name = undefined) {
/*if (result.name = undefined) {
result = {success:false,message:"Not found"}
}
}*/
if (result.success == false) {
code = 400
}
Expand Down

0 comments on commit 7fc3ee9

Please sign in to comment.