diff --git a/app/models/communication/website/with_git_repository.rb b/app/models/communication/website/with_git_repository.rb index d4276d45c3309a90fd7a4ecd65957658f63b217b..0db7dafec309b75d10167d1971b14a3ee86c96ad 100644 --- a/app/models/communication/website/with_git_repository.rb +++ b/app/models/communication/website/with_git_repository.rb @@ -52,7 +52,7 @@ module Communication::Website::WithGitRepository def add_direct_source_to_sync(direct_source) # Ne pas traiter les sources d'autres sites - return unless direct_source.website_id == self.id + return unless direct_source.communication_website_id == self.id # Ne pas traiter les sources non synchronisables return unless direct_source.syncable? Communication::Website::GitFile.sync self, direct_source