mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-25 04:41:31 +00:00
Merge 45e1b25ea3 into 47ea6b5092
This commit is contained in:
commit
360e88b7fc
1 changed files with 5 additions and 0 deletions
|
|
@ -369,6 +369,11 @@ class AuthorController {
|
||||||
hasUpdates = true
|
hasUpdates = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (authorData.name && req.author.name !== authorData.name) {
|
||||||
|
req.author.name = authorData.name
|
||||||
|
hasUpdates = true
|
||||||
|
}
|
||||||
|
|
||||||
if (hasUpdates) {
|
if (hasUpdates) {
|
||||||
await req.author.save()
|
await req.author.save()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue