diff --git a/server/controllers/AuthorController.js b/server/controllers/AuthorController.js index 50eeda31a..ab6092624 100644 --- a/server/controllers/AuthorController.js +++ b/server/controllers/AuthorController.js @@ -368,6 +368,11 @@ class AuthorController { hasUpdates = true } + if (authorData.name && req.author.name !== authorData.name) { + req.author.name = authorData.name + hasUpdates = true + } + if (hasUpdates) { await req.author.save()