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