Commit 0c7eddf3 authored by Pedro Moreira da Silva's avatar Pedro Moreira da Silva Committed by Oswaldo Ferreira

Make approval system notes lowercase [ci-skip]

parent 9ba32fea
......@@ -476,17 +476,17 @@ module SystemNoteService
#
# Example Note text:
#
# "Approved this merge request"
# "approved this merge request"
#
# Returns the created Note object
def approve_mr(noteable, user)
body = "Approved this merge request"
body = "approved this merge request"
create_note(noteable: noteable, project: noteable.project, author: user, note: body)
end
def unapprove_mr(noteable, user)
body = "Unapproved this merge request"
body = "unapproved this merge request"
create_note(noteable: noteable, project: noteable.project, author: user, note: body)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment