Browse Source

fixed 册除失败提示

pull/338/head
xxq250 2 years ago
parent
commit
075f525783
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/interactors/gitea/delete_file_interactor.rb

+ 3
- 0
app/interactors/gitea/delete_file_interactor.rb View File

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



Loading…
Cancel
Save