fixed rdate format on user delete

This commit is contained in:
Andris Reinman 2020-04-09 07:37:23 +03:00
parent 414962342b
commit 7f49180257

View file

@ -19,7 +19,7 @@ let run = async taskData => {
}
);
let rdate = new Date(Date.now() + consts.DELETED_USER_MESSAGE_RETENTION);
let rdate = new Date(Date.now() + consts.DELETED_USER_MESSAGE_RETENTION).getTime();
let messageData;
let updateEntries = [];