Skip to content

Commit

Permalink
test: add back timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Apr 23, 2024
1 parent ce9e1cf commit c73f759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/user/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module.exports = function (User) {

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

0 comments on commit c73f759

Please sign in to comment.