Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
commit
d81ff922a5
|
@ -219,6 +219,7 @@ class RepositoriesController < ApplicationController
|
|||
interactor = Gitea::CreateFileInteractor.call(current_user.gitea_token, @owner.login, content_params)
|
||||
if interactor.success?
|
||||
@file = interactor.result
|
||||
render_result(0, "替换成功")
|
||||
else
|
||||
render_error(interactor.error)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue