This commit is contained in:
mikiher 2026-02-22 16:16:14 -06:00 committed by GitHub
commit d5df322a2e
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()