Skip to content

Commit 4f163de

Browse files
author
Lasim
committed
fix: update timestamp creation to use Date object instead of Date.now() in createGroups method
1 parent c51425b commit 4f163de

File tree

1 file changed

+1
-1
lines changed
  • services/backend/src/global-settings

1 file changed

+1
-1
lines changed

services/backend/src/global-settings/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class GlobalSettingsInitService {
217217
throw new Error('GlobalSettingGroups table not found in schema');
218218
}
219219

220-
const now = Date.now();
220+
const now = new Date();
221221
const groupData = {
222222
id: group.id,
223223
name: group.name,

0 commit comments

Comments
 (0)