Commit 77715738 authored by Aral Balkan's avatar Aral Balkan
Browse files

Fix bug with date format in private web socket access date update

parent 1104e8ae
......@@ -9,7 +9,7 @@ module.exports = (socket, request) => {
db.privateRoutes.forEach(route => {
if (route.route === request.params.token) {
authorised = true
route.accessedAt = new Date()
route.accessedAt = Date.now()
}
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment