mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-28 21:19:42 +00:00
Merge 45e1b25ea3 into 9f5d8386f3
This commit is contained in:
commit
d5df322a2e
1 changed files with 5 additions and 0 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue