From 57d186e662a375df48fad0c902f04404c41867a7 Mon Sep 17 00:00:00 2001 From: Pierre Brisorgueil Date: Fri, 29 Sep 2023 21:31:37 +0200 Subject: [PATCH] =?UTF-8?q?refactor(scripts):=20add=20admin=20to=20seed=20?= =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(#2598)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index d19741966..80e74fabe 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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);