Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into SPSH-1275
Browse files Browse the repository at this point in the history
  • Loading branch information
DeFi3298 committed Nov 27, 2024
2 parents 804542d + e512222 commit 0aefe91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/organisation/api/organisation.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class OrganisationController {
) {}

@Post()
@UseGuards(StepUpGuard)
// @UseGuards(StepUpGuard) --> SPSH-1519 (Not Possible due to migration at the moment)
@ApiCreatedResponse({ description: 'The organisation was successfully created.', type: OrganisationResponse })
@ApiBadRequestResponse({ description: 'The organisation already exists.', type: DbiamOrganisationError })
@ApiUnauthorizedResponse({ description: 'Not authorized to create the organisation.' })
Expand Down
1 change: 0 additions & 1 deletion src/modules/person/api/person.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export class PersonController {
}

@Post()
@UseGuards(StepUpGuard)
@HttpCode(HttpStatus.CREATED)
@ApiCreatedResponse({ description: 'The person was successfully created.', type: PersonendatensatzResponse })
@ApiBadRequestResponse({ description: 'A username was given. Creation with username is not supported.' })
Expand Down

0 comments on commit 0aefe91

Please sign in to comment.