From 4dc9eb4a926cac7090aa9f44ff55a734a4e02dc7 Mon Sep 17 00:00:00 2001 From: who-biz <37732338+who-biz@users.noreply.github.com> Date: Wed, 26 Apr 2023 22:59:52 +0000 Subject: [PATCH] Add underscore that was missed, pass signature check --- app_mongo.js | 2 +- app_mongo_many.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_mongo.js b/app_mongo.js index cbd4ee9..35b0f36 100644 --- a/app_mongo.js +++ b/app_mongo.js @@ -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") diff --git a/app_mongo_many.js b/app_mongo_many.js index 7417dfe..07f04fe 100644 --- a/app_mongo_many.js +++ b/app_mongo_many.js @@ -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")