Skip to content

Commit a2e2a9f

Browse files
Flor1an-devFlorian Hartmann
authored and
Florian Hartmann
committed
feat(api): added support in the GroupManager to upload Group avatars
1 parent 70cefe4 commit a2e2a9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/v4/objects.py

+1
Original file line numberDiff line numberDiff line change
@@ -1513,6 +1513,7 @@ class GroupManager(CRUDMixin, RESTManager):
15131513
"default_branch_protection",
15141514
),
15151515
)
1516+
_types = {"avatar": types.ImageAttribute}
15161517

15171518
@exc.on_http_error(exc.GitlabImportError)
15181519
def import_group(self, file, path, name, parent_id=None, **kwargs):

0 commit comments

Comments
 (0)