This commit is contained in:
vilet.yy 2021-04-02 18:41:48 +08:00
parent 7a00541375
commit 786629dbff
1 changed files with 0 additions and 2 deletions

View File

@ -24,8 +24,6 @@ class Projects::ForkService < ApplicationService
new_repository.identifier = @project.identifier
new_repository.save!
ProjectUnit.init_types(clone_project.id)
result = Gitea::Repository::ForkService.new(@project.owner, @target_owner, @project.identifier, @organization).call
@project.update_column('forked_count', @project&.forked_count.to_i + 1)