fix calc typo

This commit is contained in:
ry 2020-01-31 23:33:10 +01:00
parent 1e97965263
commit 1bc9985dec

View file

@ -9,7 +9,7 @@ module.exports = {
return Math.round(days);
},
serverDays: function (server) {
if (typeof user !== "object") throw new TypeError("Not an Object");
if (typeof server !== "object") throw new TypeError("Not an Object");
let creation = new Date().getTime() - server.createdAt.getTime();