Skip to content

Commit 0c02add

Browse files
committed
minor chnage to populate script
1 parent 6c6d6f9 commit 0c02add

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

api-docs/openapi.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,13 +3199,6 @@
31993199
},
32003200
"description": "The shortname of the organization"
32013201
},
3202-
{
3203-
"name": "registry",
3204-
"in": "query",
3205-
"schema": {
3206-
"type": "string"
3207-
}
3208-
},
32093202
{
32103203
"$ref": "#/components/parameters/id_quota"
32113204
},

src/scripts/populate.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const BaseOrg = require('../model/baseorg')
2020
const BaseUser = require('../model/baseuser')
2121
const ReviewObject = require('../model/reviewobject')
2222
const Conversation = require('../model/conversation')
23+
const Audit = require('../model/audit')
2324

2425
const error = new errors.IDRError()
2526

@@ -32,7 +33,8 @@ const populateTheseCollections = {
3233
BaseOrg: BaseOrg,
3334
BaseUser: BaseUser,
3435
ReviewObject: ReviewObject,
35-
Conversation: Conversation
36+
Conversation: Conversation,
37+
Audit: Audit
3638
}
3739

3840
const indexesToCreate = {

0 commit comments

Comments
 (0)