mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-03 17:39:09 +00:00
FIX: Add Cors Config
This commit is contained in:
@@ -38,12 +38,12 @@ export class InputsController {
|
||||
}
|
||||
|
||||
@Get()
|
||||
async findAll((@Body() body) {
|
||||
async findAll(@Body() body) {
|
||||
console.log(`/input`, 'ON FIND ALL ROUTE');
|
||||
|
||||
const inputService = new InputsService(this.inputsClientService);
|
||||
|
||||
const response = await inputService.findAll();
|
||||
const response = await inputService.findAll(body);
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user