Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Dec 27, 2021
1 parent e6e556c commit 5dfaf9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion routes/tokenslist.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ router.route("/tokensList").get(async function (req, res, next) {
message: "There is no data in tokensList Collection.",
});
}
else{
return res.send(tokensList.data);
}

return res.send(tokensList.data);

} catch (error) {
console.log("error (try-catch) : " + error);
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
// var date = new Date("2021-12-14T18:42:24.445Z");
// var seconds = date.getTime();
// console.log("time: ",seconds);
let contractHash="F41eea03821F59de6a3d48161dA1ba267Fc4048B7d6761Cb18E80C5C68049388".toLowerCase();
let contractHash="Feb336a5487f160DA388d878296C9043Ab29b50daE9756675FD332408275bBeB".toLowerCase();
console.log(contractHash);

0 comments on commit 5dfaf9a

Please sign in to comment.