mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-13 18:49:09 +00:00
FIX: returning input when creating jdbc
This commit is contained in:
@@ -22,7 +22,10 @@ export class InputsService {
|
||||
});
|
||||
return createInputResponse;
|
||||
} else {
|
||||
const createInputResponse = await this.inputClient.create(data);
|
||||
const createInputResponse: any = await this.inputClient.create(data);
|
||||
if (createInputResponse?.input?.input_jdbc) {
|
||||
return { input: createInputResponse?.input?.input_jdbc };
|
||||
}
|
||||
return createInputResponse;
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user