Updated some nameing to fit with the rest of the models
All checks were successful
continuous-integration/drone/pr Build is passing

ref #37
This commit is contained in:
2020-12-20 16:51:59 +01:00
parent ca142376b3
commit 4a21c1fb5c
2 changed files with 9 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export default class SeedUsers implements Seeder {
initialUser.lastname = "demo";
initialUser.username = "demo";
initialUser.password = "demo";
initialUser.group = group;
initialUser.groups = group;
return await connection.getRepository(User).save(await initialUser.toUser());
}