diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-03 18:31:24 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-03 18:31:24 -0700 |
commit | 5446509b96d5d5bcd0aa9855ce5b9568fe706eb7 (patch) | |
tree | dc9c47ceecaa4b0d80756601c91ae0352808bb28 /server/database/seeds.ts | |
parent | edbbed205031fa21c42e309cbf1161e20135e44b (diff) | |
download | locchat-5446509b96d5d5bcd0aa9855ce5b9568fe706eb7.tar.gz locchat-5446509b96d5d5bcd0aa9855ce5b9568fe706eb7.zip |
update readme add git scripts
Diffstat (limited to 'server/database/seeds.ts')
-rw-r--r-- | server/database/seeds.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/database/seeds.ts b/server/database/seeds.ts index 4e9acc4..3b6cdf9 100644 --- a/server/database/seeds.ts +++ b/server/database/seeds.ts @@ -36,7 +36,8 @@ export default class Seeds implements Seeder { adminUser = new User(); adminUser.email = process.env.ADMIN_EMAIL; adminUser.passwordHash = passwordHash; - adminUser.name = 'Site Admin'; + adminUser.firstName = 'Admin'; + adminUser.lastName = 'Site'; const adminUserRole = new UserRole(); adminUserRole.role = adminRole; adminUser.userRoles = [adminUserRole]; |