mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 14:29:08 +00:00
FIX: add connection add parameter to function
This commit is contained in:
@@ -38,14 +38,21 @@ export class ConnectionTestService {
|
||||
body: ConnectionTestPingReq,
|
||||
customer_name: string,
|
||||
): Promise<ConnectionTestPingRes> {
|
||||
const { host: endpoint, plugin, port, network_config_id } = body;
|
||||
const {
|
||||
host: endpoint,
|
||||
plugin,
|
||||
port,
|
||||
network_config_id,
|
||||
connection_id,
|
||||
} = body;
|
||||
return lastValueFrom(
|
||||
this.connectionTestReadClient.ConnectionTestPing({
|
||||
customer_name,
|
||||
endpoint,
|
||||
network_config_id,
|
||||
plugin,
|
||||
port: port.toString(),
|
||||
port: port ? port.toString() : undefined,
|
||||
connection_id,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user