update: the danak services module and add new route to fetch the danak service
This commit is contained in:
@@ -141,6 +141,12 @@ export class DanakServicesController {
|
||||
return this.danakServicesService.getDanakServiceByIdWithSubs(paramDto.id, isAdmin, userId);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: "get danakService by id public" })
|
||||
@Get(":id/public")
|
||||
getDanakServiceByIdPublic(@Param() paramDto: ParamDto) {
|
||||
return this.danakServicesService.getDanakServiceByIdPublic(paramDto.id);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: "update danak service" })
|
||||
@AuthGuards()
|
||||
@PermissionsDec(PermissionEnum.SERVICES)
|
||||
|
||||
Reference in New Issue
Block a user