From 9e181e6c8338d957031e21d75933569ffb1190ce Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Wed, 13 Apr 2022 11:14:32 +0200 Subject: [PATCH] fix Resource FilterIsSharedWithGroup Type --- api/resources.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resources.go b/api/resources.go index b2659c8..c25ddaf 100644 --- a/api/resources.go +++ b/api/resources.go @@ -41,7 +41,7 @@ type Tag struct { // GetResourcesOptions are all available query parameters type GetResourcesOptions struct { FilterIsFavorite bool `url:"filter[is-favorite],omitempty"` - FilterIsSharedWithGroup []string `url:"filter[is-shared-with-group][],omitempty"` + FilterIsSharedWithGroup string `url:"filter[is-shared-with-group],omitempty"` FilterIsOwnedByMe bool `url:"filter[is-owned-by-me],omitempty"` FilterIsSharedWithMe bool `url:"filter[is-shared-with-me],omitempty"` FilterHasID []string `url:"filter[has-id][],omitempty"`