diff options
Diffstat (limited to 'server/helpers/utils.ts')
-rw-r--r-- | server/helpers/utils.ts | 2 |
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 { | |||
18 | function getFormatedObjects<U, T extends FormatableToJSON> (objects: T[], objectsTotal: number) { | 18 | function 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 | ||