aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 5f1219f..f172e61 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -59,7 +59,7 @@ logger.info(`Port ${port} chosen`);
const root: User = new User({
username: 'hafeez',
password: 'pass',
- userGroup: admin
+ userGroups: [admin]
});
await root.save();