Skip to content
代码片段 群组 项目
未验证 提交 887786e3 编辑于 作者: Rémy Coutable's avatar Rémy Coutable
浏览文件

Allow to set a single reviewer for Housekeeper::Change


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
上级 eee74d78
No related branches found
No related tags found
无相关合并请求
...@@ -178,7 +178,7 @@ def update_existing_merge_request( ...@@ -178,7 +178,7 @@ def update_existing_merge_request(
end end
def usernames_to_ids(usernames) def usernames_to_ids(usernames)
usernames.map do |username| Array(usernames).map do |username|
data = request(:get, "/users", query: { username: username }) data = request(:get, "/users", query: { username: username })
data[0]['id'] data[0]['id']
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册