mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 册除失败提示
This commit is contained in:
@@ -42,6 +42,9 @@ module Gitea
|
||||
def render_result(response)
|
||||
if response.status == 200
|
||||
@result = JSON.parse(response.body)
|
||||
else
|
||||
Rails.logger.error("Gitea::Repository::Entries::DeleteService error======#{response.body}")
|
||||
@error = "册除失败"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user