summaryrefslogtreecommitdiff
path: root/modules/timetrack3
diff options
context:
space:
mode:
Diffstat (limited to 'modules/timetrack3')
-rw-r--r--modules/timetrack3/timetrack3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/timetrack3/timetrack3.js b/modules/timetrack3/timetrack3.js
index 2aa1988..dbb0e5b 100644
--- a/modules/timetrack3/timetrack3.js
+++ b/modules/timetrack3/timetrack3.js
@@ -133,7 +133,7 @@ function dbCallback(res, fn) {
console.error(err);
res.status(500).send("Something went wrong...");
} else {
- fn(...Array.apply(Array, arguments).slice(1));
+ fn(...Array.from(arguments).slice(1));
}
};
}