mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-21 20:25:45 +08:00
新增: 获取比较blame、token以及异常捕获处理
This commit is contained in:
@@ -3,6 +3,5 @@ class Api::V1::Projects::CommitsController < Api::V1::BaseController
|
||||
|
||||
def diff
|
||||
@result_object = Api::V1::Projects::Commits::DiffService.call(@project, params[:sha], current_user&.gitea_token)
|
||||
puts @result_object
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user