diff options
| author | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:08:58 +0300 | 
|---|---|---|
| committer | eug-vs <eug-vs@keemail.me> | 2020-06-12 20:08:58 +0300 | 
| commit | 2a4e1ff734533a026ebf4122c31355e2dffba1b2 (patch) | |
| tree | e74bb1610373c4984ca9df11f9161b0abbd7f443 /populateDb.ts | |
| parent | 755889e7c1c74b0bd7677fc513d04473689eaf57 (diff) | |
| download | which-api-2a4e1ff734533a026ebf4122c31355e2dffba1b2.tar.gz | |
style: fix some eslint errors
Diffstat (limited to 'populateDb.ts')
| -rw-r--r-- | populateDb.ts | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/populateDb.ts b/populateDb.ts index 8000111..156d4f2 100644 --- a/populateDb.ts +++ b/populateDb.ts @@ -37,7 +37,7 @@ const createPoll = (authorId: string): Promise<PollSchema> => {    return app.service('polls').create({      contents: {        left: generateImageData(), -      right: generateImageData(), +      right: generateImageData()      },      authorId    }); @@ -57,7 +57,7 @@ const populate = async () => {    for (let i = 0; i < POLLS_AMOUNT; i++) {      const sampleUser = _.sample(users);      await createPoll(sampleUser?._id); -  }; +  }  };  populate().finally(mongoose.disconnect); | 
