FIX delete hash merge code
This commit is contained in:
parent
9823b03099
commit
c6a31cbda8
|
@ -66,8 +66,6 @@ class RepositoriesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_file
|
def create_file
|
||||||
content_params = content_params.merge(committer: {email: current_user.mail, name: current_user.login})
|
|
||||||
|
|
||||||
interactor = Gitea::CreateFileInteractor.call(current_user.gitea_token, @project.owner.login, content_params)
|
interactor = Gitea::CreateFileInteractor.call(current_user.gitea_token, @project.owner.login, content_params)
|
||||||
if interactor.success?
|
if interactor.success?
|
||||||
@file = interactor.result
|
@file = interactor.result
|
||||||
|
|
Loading…
Reference in New Issue