aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/utils.ts')
-rw-r--r--server/helpers/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts
index e99a48393..9c08afb71 100644
--- a/server/helpers/utils.ts
+++ b/server/helpers/utils.ts
@@ -18,7 +18,7 @@ interface FormatableToJSON {
18function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) { 18function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) {
19 const formatedObjects: U[] = [] 19 const formatedObjects: U[] = []
20 20
21 objects.forEach(function (object) { 21 objects.forEach(object => {
22 formatedObjects.push(object.toFormatedJSON()) 22 formatedObjects.push(object.toFormatedJSON())
23 }) 23 })
24 24