Skip to content

Commit b411e5a

Browse files
zanecodesJohnVillalovos
authored andcommitted
fix(api): Allow ProjectMergeRequestDiscussionNote.resolved to be updated
1 parent 57fd60c commit b411e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gitlab/v4/objects/notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class ProjectMergeRequestDiscussionNoteManager(
172172
"discussion_id": "id",
173173
}
174174
_create_attrs = RequiredOptional(required=("body",), optional=("created_at",))
175-
_update_attrs = RequiredOptional(required=("body",))
175+
_update_attrs = RequiredOptional(exclusive=("body", "resolved"))
176176

177177

178178
class ProjectSnippetNote(SaveMixin, ObjectDeleteMixin, RESTObject):

0 commit comments

Comments
 (0)