Skip to content

Commit

Permalink
Add underscore that was missed, pass signature check
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Apr 26, 2023
1 parent 2e461bf commit 4dc9eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app_mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function listener(requestUrl, res){

console.log(json)

if(json.hasOwnProperty("address") && json.hasOwnProperty("signature") && json.hasOwnProperty("timenow") ){
if(json.hasOwnProperty("address") && json.hasOwnProperty("signature") && json.hasOwnProperty("time_now") ){

console.log("OK")

Expand Down
2 changes: 1 addition & 1 deletion app_mongo_many.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function listener(requestUrl, res){

console.log(json)

if(json.hasOwnProperty("address") && json.hasOwnProperty("signature") && json.hasOwnProperty("timenow") ){
if(json.hasOwnProperty("address") && json.hasOwnProperty("signature") && json.hasOwnProperty("time_now") ){

console.log("OK")

Expand Down

0 comments on commit 4dc9eb4

Please sign in to comment.