Skip to content

Commit 129a469

Browse files
committed
Don't assign moment object to whenLastUpdate, should be string
1 parent 425aef7 commit 129a469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/ping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
async function notifySubscribersIfDirty(resource, resourceUrl) {
9494
if (resource.flDirty) {
9595
resource.ctUpdates += 1;
96-
resource.whenLastUpdate = moment();
96+
resource.whenLastUpdate = moment().utc().format();
9797
return await notifySubscribers(resourceUrl);
9898
}
9999
}

0 commit comments

Comments
 (0)