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

Commit

Permalink
updatation after data population
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Nov 16, 2021
1 parent c7d7eec commit 5235ccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NODE_MODE=developement
NODE_MODE=deployed
DATABASE_URL_LOCAL=mongodb://localhost:27017/V2-graphQL
DATABASE_URL_ONLINE=mongodb+srv://admin:[email protected]/V2-graphQL?retryWrites=true&w=majority

Expand Down
4 changes: 2 additions & 2 deletions graphql/dayUpdates.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ async function updatePairDayData (timeStamp,pairAddress){
pairDayData = new PairDayData({
id: dayPairID,
date: dayStartTimestamp,
token0: pair.token0,
token1: pair.token1,
token0: pair.token0.id,
token1: pair.token1.id,
pairAddress: pairAddress,
dailyVolumeToken0: ZERO_BD,
dailyVolumeToken1: ZERO_BD,
Expand Down

0 comments on commit 5235ccf

Please sign in to comment.