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

This commit is contained in:
“xxq250”
2022-07-26 15:44:11 +08:00
6 changed files with 950 additions and 193 deletions

View File

@@ -10,7 +10,7 @@ class Api::V1::Projects::PullsController < Api::V1::BaseController
def show
@result_object = Api::V1::Projects::Pulls::GetService.call(@project, @pull_request, current_user&.gitea_token)
@last_review = @pull_request.reviews.take
@last_review = @pull_request.reviews.order(created_at: :desc).take
end
private