mirror of
https://github.com/dadosfera/maestro.git
synced 2026-12-04 07:10:05 +00:00
FIX: send input to createS3
This commit is contained in:
@@ -14,7 +14,11 @@ export class InputsService {
|
|||||||
data.plugin == 'json' ||
|
data.plugin == 'json' ||
|
||||||
data.plugin == 'parquet'
|
data.plugin == 'parquet'
|
||||||
) {
|
) {
|
||||||
const createInputResponse = await this.inputClient.createS3Inputs(data);
|
const { info, ...input } = data;
|
||||||
|
const createInputResponse = await this.inputClient.createS3Inputs({
|
||||||
|
input,
|
||||||
|
info,
|
||||||
|
});
|
||||||
return createInputResponse;
|
return createInputResponse;
|
||||||
} else {
|
} else {
|
||||||
const createInputResponse = await this.inputClient.create(data);
|
const createInputResponse = await this.inputClient.create(data);
|
||||||
|
|||||||
Reference in New Issue
Block a user