mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-20 20:19:08 +00:00
FIX: oauth creating connection
This commit is contained in:
@@ -4,6 +4,7 @@ import { AuthGuard } from '@nestjs/passport';
|
||||
import { ConnectionClientService } from '../connection/client.service';
|
||||
import jwt from 'jsonwebtoken';
|
||||
import DadosferaLogger from '@dadosfera/dadosfera-logs/dist';
|
||||
import { PackTheMetadata } from 'src/utils/ PackTheMetadata';
|
||||
@ApiTags('oauth')
|
||||
@Controller('oauth')
|
||||
export class OauthController {
|
||||
@@ -157,7 +158,7 @@ export class OauthController {
|
||||
try {
|
||||
const response = await this.connectionService.createConnection(
|
||||
connectionInfo,
|
||||
{ customer_id, customer_name, user_id },
|
||||
PackTheMetadata({ customer_id, customer_name, user_id }),
|
||||
);
|
||||
this.redirectUrl.searchParams.set(
|
||||
'connection_id',
|
||||
|
||||
Reference in New Issue
Block a user