Skip to content

Commit

Permalink
Merge 65005b6 into c6ba842
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Nov 2, 2021
2 parents c6ba842 + 65005b6 commit 5a9a00f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Committee/Committee.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export class CommitteeRouter extends Router {

async getCommittee() {
const committee = await collectionAPI.fetchCommittee()
return utils.mapOmit(committee, ['__typename', 'isCommitteeMember'])
return utils.mapOmit(committee, ['isCommitteeMember'])
}
}
3 changes: 1 addition & 2 deletions src/Rarity/Rarity.router.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { utils } from 'decentraland-commons'
import { server } from 'decentraland-server'

import { Router } from '../common/Router'
Expand All @@ -14,6 +13,6 @@ export class RarityRouter extends Router {

async getRarities() {
const rarities = await collectionAPI.fetchRarities()
return utils.mapOmit(rarities, ['__typename'])
return rarities
}
}

0 comments on commit 5a9a00f

Please sign in to comment.