fixed 补偿users.gitea_uid不存在的用户,error message
This commit is contained in:
parent
a336e91dd8
commit
9f4d9aa5db
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue