mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: add externalId to seed scripts (#50407)
It's in the schema, so it should be in the seeded users
This commit is contained in:
committed by
GitHub
parent
bcc9970e5b
commit
7749aed5d5
@@ -4729,5 +4729,6 @@ module.exports = {
|
||||
},
|
||||
isDonating: false,
|
||||
emailAuthLinkTTL: null,
|
||||
emailVerifyTTL: null
|
||||
emailVerifyTTL: null,
|
||||
externalId: ''
|
||||
};
|
||||
|
||||
@@ -85,7 +85,8 @@ const demoUser = {
|
||||
isDonating: envVariables.includes('--donor'),
|
||||
emailAuthLinkTTL: null,
|
||||
emailVerifyTTL: null,
|
||||
keyboardShortcuts: true
|
||||
keyboardShortcuts: true,
|
||||
externalId: ''
|
||||
};
|
||||
|
||||
const blankUser = {
|
||||
@@ -144,7 +145,8 @@ const blankUser = {
|
||||
},
|
||||
isDonating: false,
|
||||
emailAuthLinkTTL: null,
|
||||
emailVerifyTTL: null
|
||||
emailVerifyTTL: null,
|
||||
externalId: ''
|
||||
};
|
||||
|
||||
MongoClient.connect(MONGOHQ_URL, { useNewUrlParser: true }, (err, client) => {
|
||||
|
||||
Reference in New Issue
Block a user