Skip to content

Commit

Permalink
fix: πŸ› is-pre-approved doc comments
Browse files Browse the repository at this point in the history
decorators had an incorrect merge conflict resolution
  • Loading branch information
polymath-eric committed Mar 25, 2024
1 parent 6f72944 commit 67ef341
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/identities/identities.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,14 +667,6 @@ export class IdentitiesController {
name: 'did',
description: 'The DID of the Identity for which to attest primary key rotation',
})
@Get(':did/is-pre-approved')
@ApiParam({
name: 'did',
description: 'The DID of the Identity for which fetch pre-approved assets for',
type: 'string',
required: true,
example: '0x0600000000000000000000000000000000000000000000000000000000000000',
})
@Post(':did/rotate-primary-key')
async attestPrimaryKeyRotation(
@Param() { did }: DidDto,
Expand All @@ -688,10 +680,18 @@ export class IdentitiesController {
return handleServiceResult(serviceResult, authorizationRequestResolver);
}

@ApiParam({
name: 'did',
description: 'The DID of the Identity for which fetch pre-approved assets for',
type: 'string',
required: true,
example: '0x0600000000000000000000000000000000000000000000000000000000000000',
})
@ApiOkResponse({
description: 'Returns pre-approval status for the asset',
type: PreApprovedModel,
})
@Get(':did/is-pre-approved')
public async getIsTickerPreApproved(
@Param() { did }: DidDto,
@Query() { ticker }: TickerParamsDto
Expand Down

0 comments on commit 67ef341

Please sign in to comment.