From 250eb65601a0df004a1b628f05dc7d9b25315597 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Fri, 24 Dec 2021 15:03:25 +0100
Subject: [PATCH] fix

---
 app/models/communication/website/github_file.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/communication/website/github_file.rb b/app/models/communication/website/github_file.rb
index 8a9fc5ea3..95a09b42e 100644
--- a/app/models/communication/website/github_file.rb
+++ b/app/models/communication/website/github_file.rb
@@ -28,7 +28,7 @@ class Communication::Website::GithubFile < ApplicationRecord
 
   def publish
     return unless valid_for_publication? && github.valid?
-    add_to_batch(github, github_path)
+    add_to_batch(github)
     if github.commit_batch(github_commit_message)
       update_column :github_path, manifest_data[:generated_path].call(self)
     end
-- 
GitLab