Merge branch 'develop' into standalone_develop

This commit is contained in:
2022-07-15 14:41:12 +08:00
5 changed files with 663 additions and 360 deletions

View File

@@ -1,5 +1,5 @@
class Api::V1::Projects::BranchesController < Api::V1::BaseController
before_action :require_public_and_member_above, only: [:index]
before_action :require_public_and_member_above, only: [:all]
def all
@result_object = Api::V1::Projects::Branches::AllListService.call(@project, current_user&.gitea_token)
@@ -9,7 +9,6 @@ class Api::V1::Projects::BranchesController < Api::V1::BaseController
def create
@result_object = Api::V1::Projects::Branches::CreateService.call(@project, branch_params, current_user&.gitea_token)
puts @result_object
end
private