From fc4bdecdcd8abc7a2adaeb4b7f209f6930846ffa Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Jun 2020 17:09:19 +0300 Subject: feat: use hashPassword hook --- populateDb.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'populateDb.ts') diff --git a/populateDb.ts b/populateDb.ts index 0a89cc9..a21b669 100644 --- a/populateDb.ts +++ b/populateDb.ts @@ -46,6 +46,7 @@ const createPoll = (authorId: string): Promise => { const createUser = (name: string): Promise => { return app.service('users').create({ avatarUrl: _.sample(imageUrls) || '', + password: 'supersecret', name }); }; -- cgit v1.2.3