fixed 补偿users.gitea_uid不存在的用户,error message

This commit is contained in:
xxqfamous 2023-05-22 14:17:24 +08:00
parent a336e91dd8
commit 9f4d9aa5db
1 changed files with 1 additions and 1 deletions

View File

@ -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