Skip to content

Commit 1fa78d6

Browse files
committed
linting issues
1 parent 9439f32 commit 1fa78d6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/controller/registry-user.controller/registry-user.controller.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ async function getAllUsers (req, res, next) {
2424
const agt = setAggregateUserObj({})
2525
const pg = await repo.aggregatePaginate(agt, options)
2626

27-
await RegistryOrg.populateOrgAffiliations(pg.itemsList)
28-
await RegistryOrg.populateCVEProgramOrgMembership(pg.itemsList)
29-
3027
const payload = { users: pg.itemsList }
3128

3229
if (pg.itemCount >= CONSTANTS.PAGINATOR_OPTIONS.limit) {

test/integration-tests/registry-org/registryOrgWithJointReviewTest.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ describe('Testing Joint approval', () => {
6969
let secret
7070
let orgUUID
7171
let reviewUUID
72-
let createdOrg
7372
it('Create an org to use for testing', async () => {
7473
await chai.request(app)
7574
.post('/api/registryOrg')
@@ -97,8 +96,6 @@ describe('Testing Joint approval', () => {
9796

9897
expect(res.body.created).to.haveOwnProperty('hard_quota')
9998
expect(res.body.created.hard_quota).to.equal(testRegistryOrgForReview.hard_quota)
100-
101-
createdOrg = res.body.created
10299
})
103100
})
104101
it('Create an User', async () => {

0 commit comments

Comments
 (0)