Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

This commit is contained in:
xxq250 2023-05-08 15:36:24 +08:00
commit d81ff922a5
1 changed files with 1 additions and 0 deletions

View File

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