diff options
Diffstat (limited to 'gitlab/mixins.py')
| -rw-r--r-- | gitlab/mixins.py | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py index 7cbb7b9..01a5b63 100644 --- a/gitlab/mixins.py +++ b/gitlab/mixins.py @@ -433,7 +433,9 @@ class AccessRequestMixin(object):  class SubscribableMixin(object): -    @cli.register_custom_action(("ProjectIssue", "ProjectMergeRequest", "ProjectLabel")) +    @cli.register_custom_action( +        ("ProjectIssue", "ProjectMergeRequest", "ProjectLabel", "GroupLabel") +    )      @exc.on_http_error(exc.GitlabSubscribeError)      def subscribe(self, **kwargs):          """Subscribe to the object notifications. @@ -449,7 +451,9 @@ class SubscribableMixin(object):          server_data = self.manager.gitlab.http_post(path, **kwargs)          self._update_attrs(server_data) -    @cli.register_custom_action(("ProjectIssue", "ProjectMergeRequest", "ProjectLabel")) +    @cli.register_custom_action( +        ("ProjectIssue", "ProjectMergeRequest", "ProjectLabel", "GroupLabel") +    )      @exc.on_http_error(exc.GitlabUnsubscribeError)      def unsubscribe(self, **kwargs):          """Unsubscribe from the object notifications.  | 
