Skip to content

Commit 8374bcc

Browse files
author
Gauvain Pocentek
committed
Fix the participants() decorator
1 parent e901f44 commit 8374bcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def reset_spent_time(self, **kwargs):
548548

549549

550550
class ParticipantsMixin(object):
551-
@cli.register_custom_action('ProjectMergeRequest', 'ProjectIssue')
551+
@cli.register_custom_action(('ProjectMergeRequest', 'ProjectIssue'))
552552
@exc.on_http_error(exc.GitlabListError)
553553
def participants(self, **kwargs):
554554
"""List the participants.

gitlab/v4/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ class ProjectIssueManager(CRUDMixin, RESTManager):
15051505
_create_attrs = (('title', ),
15061506
('description', 'confidential', 'assignee_id',
15071507
'assignee_idss' 'milestone_id', 'labels', 'created_at',
1508-
'due_date', 'merge_request_to_resolve_discussions_of' ,
1508+
'due_date', 'merge_request_to_resolve_discussions_of',
15091509
'discussion_to_resolve'))
15101510
_update_attrs = (tuple(), ('title', 'description', 'confidential',
15111511
'assignee_ids', 'assignee_id', 'milestone_id',

0 commit comments

Comments
 (0)