Skip to content

Commit

Permalink
Fix the participants() decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed May 28, 2018
1 parent e901f44 commit 8374bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitlab/mixins.py
Expand Up @@ -548,7 +548,7 @@ def reset_spent_time(self, **kwargs):


class ParticipantsMixin(object):
@cli.register_custom_action('ProjectMergeRequest', 'ProjectIssue')
@cli.register_custom_action(('ProjectMergeRequest', 'ProjectIssue'))
@exc.on_http_error(exc.GitlabListError)
def participants(self, **kwargs):
"""List the participants.
Expand Down
2 changes: 1 addition & 1 deletion gitlab/v4/objects.py
Expand Up @@ -1505,7 +1505,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager):
_create_attrs = (('title', ),
('description', 'confidential', 'assignee_id',
'assignee_idss' 'milestone_id', 'labels', 'created_at',
'due_date', 'merge_request_to_resolve_discussions_of' ,
'due_date', 'merge_request_to_resolve_discussions_of',
'discussion_to_resolve'))
_update_attrs = (tuple(), ('title', 'description', 'confidential',
'assignee_ids', 'assignee_id', 'milestone_id',
Expand Down

0 comments on commit 8374bcc

Please sign in to comment.