Browse Source

Fix minio plugin access key error

Signed-off-by: iqiziqi <iqiziqi@outlook.com>
pull/626/head
Ziqi 3 years ago committed by iqiziqi
parent
commit
44d94781e1
  1. 2
      packages/nocodb/src/plugins/mino/Minio.ts

2
packages/nocodb/src/plugins/mino/Minio.ts

@ -61,6 +61,8 @@ export default class Minio implements IStorageAdapter {
// todo: update in ui(checkbox and number field) // todo: update in ui(checkbox and number field)
this.input.port = +this.input.port || 9000; this.input.port = +this.input.port || 9000;
this.input.useSSL = this.input.useSSL ==='true'; this.input.useSSL = this.input.useSSL ==='true';
this.input.accessKey = this.input.access_key;
this.input.secretKey = this.input.access_secret;
this.minioClient = new MinioClient(this.input); this.minioClient = new MinioClient(this.input);
} }

Loading…
Cancel
Save