Skip to content

Commit

Permalink
db timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Jul 7, 2023
1 parent 9bb009a commit 4d31a9b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions coins/src/adapters/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,9 @@ export function addToDBWritesList(
symbol,
decimals: Number(decimals),
redirect,
...(price !== undefined
? {
timestamp: getCurrentUnixTimestamp(),
}
: {}),
timestamp: getCurrentUnixTimestamp(),
adapter,
confidence: Number(confidence),
timestamp,
},
],
);
Expand Down

0 comments on commit 4d31a9b

Please sign in to comment.