Skip to content

Commit

Permalink
feat: ARM-2020 Fix parameter name in getCustomContentsByTypeInSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
kr1shnadas committed Jan 13, 2025
1 parent 4762744 commit d446092
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 d446092

Please sign in to comment.