mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user