mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
interface/api: fix s3 calls for setting endpoint, keys
This commit is contained in:
parent
84a832d6e7
commit
b540ad5c4e
@ -18,15 +18,15 @@ export default class S3Api extends BaseApi<StoreState> {
|
||||
}
|
||||
|
||||
setEndpoint(endpoint: string) {
|
||||
this.s3Action({ setEndpoint: endpoint });
|
||||
this.s3Action({ 'set-endpoint': endpoint });
|
||||
}
|
||||
|
||||
setAccessKeyId(accessKeyId: string) {
|
||||
this.s3Action({ setAccessKeyId: accessKeyId });
|
||||
this.s3Action({ 'set-access-key-id': accessKeyId });
|
||||
}
|
||||
|
||||
setSecretAccessKey(secretAccessKey: string) {
|
||||
this.s3Action({ setSecretAccessKey: secretAccessKey });
|
||||
this.s3Action({ 'set-secret-access-key': secretAccessKey });
|
||||
}
|
||||
|
||||
private s3Action(data: any) {
|
||||
|
Loading…
Reference in New Issue
Block a user