Skip to content

Commit

Permalink
test: fix redis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Apr 23, 2024
1 parent fed5165 commit 5742242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ module.exports = function (User) {

flags.forEach((flag, idx) => {
if (flag) {
flag.timestamp = flag.datetime;
flag.timestampISO = new Date(flag.datetime).toISOString();
flag.timestamp = parseInt(flag.datetime, 10);
flag.timestampISO = utils.toISOString(flag.datetime);
flag.reports = reports[idx];
}
});
Expand Down

0 comments on commit 5742242

Please sign in to comment.