Skip to content
Snippets Groups Projects
Commit e3d3b407 authored by Zhan Huang's avatar Zhan Huang
Browse files

Revert "searching citation not working"

This reverts commit 451f6b8b.
parent 451f6b8b
No related branches found
No related tags found
2 merge requests!90Dev,!89Shared data model
......@@ -15,7 +15,7 @@ async function seed() {
const users = config.get('users')
/* eslint-disable no-await-in-loop */
/* eslint-disable no-restricted-syntax */
users.forEach(async user => {
for (const user of users) {
let i = 0
for (const identity of user.identities) {
const exists = await Identity.findByField('email', identity.email)
......@@ -32,7 +32,7 @@ async function seed() {
if (user.identities.find(identity => identity !== null)) {
await new User(user).save()
}
})
}
} catch (e) {
logger.warn('Could not load any seeds', e)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment