F3.1: permitir consulta contextual desde Inventario
This commit is contained in:
@@ -7,7 +7,7 @@ export class InventoryFamilyCatalogController {
|
|||||||
constructor(private readonly families: InventoryFamilyCatalogService) {}
|
constructor(private readonly families: InventoryFamilyCatalogService) {}
|
||||||
|
|
||||||
@Get(':familyId/findings')
|
@Get(':familyId/findings')
|
||||||
@RequirePermissions('assets.read', 'finding_catalog.read')
|
@RequirePermissions('assets.read')
|
||||||
findings(@Param('familyId', new ParseUUIDPipe({ version: '4' })) familyId: string) {
|
findings(@Param('familyId', new ParseUUIDPipe({ version: '4' })) familyId: string) {
|
||||||
return this.families.findings(familyId);
|
return this.families.findings(familyId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user