mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-28 02:40:05 +00:00
FIX: getting query params on find all pipelines
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
Post,
|
||||
Put,
|
||||
Headers,
|
||||
Query,
|
||||
} from '@nestjs/common';
|
||||
import { ApiCreatedResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { AuthenticateCondition } from 'src/authentication/authentication.decorator';
|
||||
@@ -83,13 +84,12 @@ export class PipelinesController {
|
||||
async findAll(
|
||||
@User() user: RequestUser,
|
||||
@Headers('Dadosfera-Lang') language,
|
||||
@Body() data,
|
||||
@Query() data,
|
||||
) {
|
||||
this.logger.info(process.env.DEV_URL + `/pipeline ON Find All ROUTE`, {
|
||||
user: data.info.user_id,
|
||||
customer: data.info.customer,
|
||||
user: user.user_id,
|
||||
customer: user.customer_name,
|
||||
});
|
||||
if (!language) language = 'en-us';
|
||||
|
||||
if (!language) language = 'en-us';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user