From db6caa6bfff281079e52b9cf789ba761126a1cb7 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 22 Sep 2021 10:58:37 +0200
Subject: [PATCH] researcher -> author

---
 app/models/research/researcher.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/research/researcher.rb b/app/models/research/researcher.rb
index e1fe55a2f..8504f16ae 100644
--- a/app/models/research/researcher.rb
+++ b/app/models/research/researcher.rb
@@ -31,7 +31,7 @@ class Research::Researcher < ApplicationRecord
 
   def publish_to_website(website)
     github = Github.new website.access_token, website.repository
-    github.publish  kind: :researchers,
+    github.publish  kind: :authors,
                     file: "#{ id }.md",
                     title: to_s,
                     data: ApplicationController.render(
-- 
GitLab