This commit is contained in:
mikiher 2026-05-11 22:53:44 +01:00 committed by GitHub
commit 360e88b7fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,6 +369,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()