Skip to content

Commit

Permalink
fix: dont return project users on project endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Pacheco authored and ikas committed Dec 7, 2021
1 parent b89a27c commit 0379fcd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions api/apps/api/src/modules/projects/projects-crud.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export class ProjectsCrudService extends AppBaseService<
'adminAreaLevel2Id',
'planningUnitGridShape',
'planningUnitAreakm2',
'users',
'scenarios',
'createdAt',
'lastModifiedAt',
Expand All @@ -95,14 +94,6 @@ export class ProjectsCrudService extends AppBaseService<
'customProtectedAreas',
],
keyForAttribute: 'camelCase',
users: {
ref: 'id',
attributes: ['fname', 'lname', 'email', 'projectRoles'],
projectRoles: {
ref: 'name',
attributes: ['name'],
},
},
scenarios: {
ref: 'id',
attributes: [
Expand Down

2 comments on commit 0379fcd

@vercel
Copy link

@vercel vercel bot commented on 0379fcd Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marxan-storybook – ./app

marxan-storybook.vercel.app
marxan-storybook-git-main-vizzuality1.vercel.app
marxan-storybook-vizzuality1.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 0379fcd Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marxan – ./app

marxan-git-main-vizzuality1.vercel.app
marxan.vercel.app
marxan-vizzuality1.vercel.app

Please sign in to comment.