Commit dd75ccc9 authored by Toon Claes's avatar Toon Claes

Fill in the creator when creating Custom Emoji

When a Custom Emoji is created through GraphQL, fill in the creator from
the current user.
parent d7586c57
......@@ -31,6 +31,7 @@ module Mutations
group = authorized_find!(group_path: group_path)
# See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/37911#note_444682238
args[:external] = true
args[:creator] = current_user
custom_emoji = group.custom_emoji.create(args)
......
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