Skip to content

Commit 3ed95b4

Browse files
committed
Error in migration script causing a failed test when using base org for validation of orgs
1 parent f5230d7 commit 3ed95b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/migrate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async function orgHelper (db) {
174174
// Doc to update existing org record, or to be created
175175

176176
let type = 'CNAOrg'
177-
if (doc.short_name.toLowerCase().includes('mitre')) { type = 'SECRETARIAT' }
177+
if (doc.short_name.toLowerCase().includes('mitre')) { type = 'SecretariatOrg' }
178178
updateDoc = {
179179
$set: {
180180
UUID: doc.UUID,

0 commit comments

Comments
 (0)