Skip to content

Commit

Permalink
refactor(scripts): add admin to seed ♻️ (#2598)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil authored Sep 29, 2023
1 parent 84f3007 commit 57d186e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ const seedMongooseUser = async () => {
await seed.default.user(config.seedDB.options.seedUser, UserService.default, AuthService.default).catch((e) => {
console.log(e);
});
await seed.default.user(config.seedDB.options.seedAdmin, UserService.default, AuthService.default).catch((e) => {
console.log(e);
});
await mongooseService.disconnect();
} catch (err) {
console.log(err);
Expand Down

0 comments on commit 57d186e

Please sign in to comment.