Skip to content

Commit

Permalink
Merge pull request #251 from derogab/dev
Browse files Browse the repository at this point in the history
v2.0.3
  • Loading branch information
derogab authored Oct 10, 2022
2 parents 165407b + 6fe94e9 commit b6bdb63
Show file tree
Hide file tree
Showing 5 changed files with 585 additions and 561 deletions.
120 changes: 66 additions & 54 deletions daemon/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions daemon/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "coingraph-daemon",
"version": "2.0.2",
"version": "2.0.3",
"author": "derogab",
"description": "A daemon for coingraph",
"license": "MIT",
"main": "app.js",
"dependencies": {
"axios": "^0.27.2",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"lowdb": "^1.0.0",
"minimist": "^1.2.6",
"socket.io": "^4.5.2"
"axios": "1.1.2",
"dotenv": "16.0.3",
"express": "4.18.2",
"lowdb": "1.0.0",
"minimist": "1.2.6",
"socket.io": "4.5.2"
},
"scripts": {
"start": "node app.js"
Expand Down
4 changes: 2 additions & 2 deletions daemon/routes/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function(db, io, app, config) {
* Cryptocurrencies
*
*/
cryptocurrencies = config.cryptocurrencies;
const cryptocurrencies = config.cryptocurrencies;

/**
* Real Time Data
Expand Down Expand Up @@ -59,7 +59,7 @@ module.exports = function(db, io, app, config) {
.catch(function (error) {
console.log(error);
})
.then(function () {
.finally(function () {
// always executed
setTimeout(function(){
realtime(crypto);
Expand Down
Loading

0 comments on commit b6bdb63

Please sign in to comment.