fix: wrong payload to bucket create
This commit is contained in:
parent
138b7a8e8c
commit
699869ca3e
|
@ -90,7 +90,7 @@ func (s *StorageServiceImpl) createBucketIfNotExists(bucket string) error {
|
|||
} else {
|
||||
resp, err := s.httpApi.R().
|
||||
SetBody(map[string]string{
|
||||
"bucket": bucket,
|
||||
"name": bucket,
|
||||
}).
|
||||
Post("/api/bus/buckets")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue