新增:最近提交列表message搜索

This commit is contained in:
2024-03-20 09:13:29 +08:00
parent c88d0c2712
commit fd6f904f7e
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,6 @@ class Api::V1::Projects::CommitsController < Api::V1::BaseController
end
def recent
@result_object = Api::V1::Projects::Commits::RecentService.call(@project, {page: page, limit: limit}, current_user&.gitea_token)
@result_object = Api::V1::Projects::Commits::RecentService.call(@project, {keyword: params[:keyword], page: page, limit: limit}, current_user&.gitea_token)
end
end