Skip to content

Commit

Permalink
#1870: Fix missing audit logs (#1876)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulischulte committed Dec 10, 2021
1 parent 38b4a84 commit 9f75816
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -98,11 +98,12 @@
class Auditevent {
constructor({timestamp, ...event}) {
Object.assign(this, event);
this.zonedTimestamp = timestamp;
this.timestamp = moment(timestamp);
}
get key() {
return `${this.timestamp}-${this.type}-${this.principal}`;
return `${this.zonedTimestamp}-${this.type}-${this.principal}`;
}
get remoteAddress() {
Expand Down

0 comments on commit 9f75816

Please sign in to comment.