Browse Source

FIX gitea create file bug

tags/v1
Jasder 6 years ago
parent
commit
9a39f2ad7a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/interactors/gitea/create_file_interactor.rb

+ 1
- 0
app/interactors/gitea/create_file_interactor.rb View File

@@ -57,6 +57,7 @@ module Gitea
file_params = file_params.merge(new_branch: @params[:new_branch]) unless @params[:new_branch].blank?
file_params = file_params.merge(content: Base64.encode64(@params[:content]))
file_params = file_params.merge(message: @params[:message]) unless @params[:message].blank?
file_params
end
end
end

Loading…
Cancel
Save