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:
Oliver Eyton-Williams
2023-05-17 17:31:54 +02:00
committed by GitHub
parent bcc9970e5b
commit 7749aed5d5
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -4729,5 +4729,6 @@ module.exports = {
},
isDonating: false,
emailAuthLinkTTL: null,
emailVerifyTTL: null
emailVerifyTTL: null,
externalId: ''
};
+4 -2
View File
@@ -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) => {