fixed 语言接口

This commit is contained in:
xxq250 2023-05-08 17:15:19 +08:00
parent 5343fcf29e
commit 784553d894
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,8 @@ class Gitea::ClientService < ApplicationService
end end
[body, message] [body, message]
rescue
return [{}, ""]
end end
def json_parse!(body) def json_parse!(body)