Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2022-06-17 14:19:58 +08:00
commit f4737d88d8
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class Project < ApplicationRecord
forked_project = self.forked_from_project
if forked_project.present?
forked_project.decrement(:forked_count, 1)
forked_project.save
forked_project.update_column(:forked_count, forked_project.forked_count)
end
end