fixed 注册error message
This commit is contained in:
parent
6d8956e803
commit
f7162abe0d
|
@ -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