diff --git a/backend/src/seed/seed-db.js b/backend/src/seed/seed-db.js index 5d6b141e2..30bf68b01 100644 --- a/backend/src/seed/seed-db.js +++ b/backend/src/seed/seed-db.js @@ -2,8 +2,7 @@ import faker from 'faker' import Factory from './factories' /* eslint-disable no-multi-spaces */ -; -(async function () { +;(async function() { try { const f = Factory() const [racoon, rabbit, wolf, bear, turtle, rhino] = await Promise.all([ @@ -302,11 +301,14 @@ import Factory from './factories' }), ]) - const mention1 = 'Hey @jenny-rostock, what\'s up?' + const mention1 = + 'Hey @jenny-rostock, what\'s up?' const mention2 = - 'Hey @jenny-rostock, here is another notification for you!' - const hashtag1 = 'See #NaturphilosophieYoga can really help you!' - const hashtagAndMention1 = 'The new physics of #QuantenFlussTheorie can explain #QuantumGravity! @peter-lustig got that already. ;-)' + 'Hey @jenny-rostock, here is another notification for you!' + const hashtag1 = + 'See #NaturphilosophieYoga can really help you!' + const hashtagAndMention1 = + 'The new physics of #QuantenFlussTheorie can explain #QuantumGravity! @peter-lustig got that already. ;-)' await Promise.all([ asAdmin.create('Post', { @@ -580,8 +582,10 @@ import Factory from './factories' }), ]) - const mentionInComment1 = 'I heard @jenny-rostock, practice it since 3 years now.' - const mentionInComment2 = 'Did @peter-lustig told you?' + const mentionInComment1 = + 'I heard @jenny-rostock, practice it since 3 years now.' + const mentionInComment2 = + 'Did @peter-lustig told you?' await Promise.all([ asUser.create('Comment', { @@ -722,4 +726,4 @@ import Factory from './factories' process.exit(1) } })() -/* eslint-enable no-multi-spaces */ \ No newline at end of file +/* eslint-enable no-multi-spaces */