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
|
case status
|
||||||
when 201 then success(body)
|
when 201 then success(body)
|
||||||
else
|
else
|
||||||
error(message, status)
|
error(message || body["message"], status)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue