mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fixed 注册error message
This commit is contained in:
@@ -31,7 +31,7 @@ class Gitea::User::RegisterService < Gitea::ClientService
|
||||
case status
|
||||
when 201 then success(body)
|
||||
else
|
||||
error(message, status)
|
||||
error(message || body["message"], status)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user