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")