Skip to content

Commit

Permalink
fix error in some games
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Jun 8, 2024
1 parent ca3c7fd commit f6339df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async function serveResult(request) {
result.name = decodeURIComponent(result.name)
}
}
else if (result.name = undefined) {
else if (result.name = undefined || !result.name) {
result = {success:false,message:"Not found"}
}
if (result.success == false) {
Expand Down

0 comments on commit f6339df

Please sign in to comment.