Skip to content

Commit

Permalink
Merge pull request #601 from Sanofi-IADC/feat/ARM-2020
Browse files Browse the repository at this point in the history
feat: ARM-2020 Fix parameter name in getCustomContentsByTypeInSpace
  • Loading branch information
kr1shnadas authored Jan 13, 2025
2 parents 7ae464a + d446092 commit 56421b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/proxy-api/dto/GetCustomContentsInSpaceParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export default class GetCustomContentsInSpaceParamsDTO {
})
@IsNotEmpty()
@IsString()
spaceId: number;
id: number;
}
4 changes: 2 additions & 2 deletions src/proxy-api/proxy-api.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ export class ProxyApiController {
@ApiOkResponse({
description: 'Get Custom Contents by Type in a Space',
})
@Get('spaces/:id/custom-content')
@Get('spaces/:id/custom-content?')
async getCustomContentsByTypeInSpace(
@Param() params: GetCustomContentsInSpaceParamsDTO,
@Query() queries: GetCustomContentsInSpaceQueryDTO,
): Promise<any> {
return this.proxyApi.getCustomContentsByTypeInSpace(
queries.type,
params.spaceId,
params.id,
queries.next,
);
}
Expand Down

0 comments on commit 56421b6

Please sign in to comment.