We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7688856 commit 4f85f9aCopy full SHA for 4f85f9a
internal/rest-client/buckets.go
@@ -44,10 +44,11 @@ type BucketsList struct {
44
}
45
46
func (fb *FBClient) GetBuckets() *BucketsList {
47
- uri := "/buckets?destroyed=false"
+ uri := "/buckets"
48
result := new(BucketsList)
49
res, _ := fb.RestClient.R().
50
SetResult(&result).
51
+ SetQueryParam("destroyed", "false").
52
Get(uri)
53
if res.StatusCode() == 401 {
54
fb.RefreshSession()
0 commit comments