fixed 已读未读标记优化

This commit is contained in:
“xxq250” 2022-08-10 16:07:20 +08:00
parent c60572e31f
commit b949ee260d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class MarkFilesController < ApplicationController
before_action :load_pull_request
def index
@files_result = Gitea::PullRequest::FilesService.call(@owner.login, @project.identifier, @pull_request.gitea_number, current_user&.gitea_token)
@files_result = Gitea::PullRequest::FilesService.call(@owner.login, @project.identifier, @pull_request.gitea_number, current_user&.gitea_token, { "only-file-name": true })
@mark_files = MarkFile.where(pull_request_id: @pull_request.id)
end