fix: wrong payload to bucket create

This commit is contained in:
Derrick Hammer 2024-01-15 14:36:06 -05:00
parent 138b7a8e8c
commit 699869ca3e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func (s *StorageServiceImpl) createBucketIfNotExists(bucket string) error {
} else { } else {
resp, err := s.httpApi.R(). resp, err := s.httpApi.R().
SetBody(map[string]string{ SetBody(map[string]string{
"bucket": bucket, "name": bucket,
}). }).
Post("/api/bus/buckets") Post("/api/bus/buckets")
if err != nil { if err != nil {