1
0
mirror of https://github.com/advplyr/audiobookshelf.git synced 2025-04-02 01:16:54 +02:00

Correct the libraryTags variable

This commit is contained in:
Philipp Rintz 2023-02-15 00:00:34 +01:00 committed by GitHub
parent a08cfa436e
commit e345c4cc9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class NotificationManager {
libraryItemId: libraryItem.id, libraryItemId: libraryItem.id,
libraryId: libraryItem.libraryId, libraryId: libraryItem.libraryId,
libraryName: library ? library.name : 'Unknown', libraryName: library ? library.name : 'Unknown',
libraryTags: libraryItem.tags, libraryTags: libraryItem.media.tags,
podcastTitle: libraryItem.media.metadata.title, podcastTitle: libraryItem.media.metadata.title,
episodeId: episode.id, episodeId: episode.id,
episodeTitle: episode.title episodeTitle: episode.title
@ -111,4 +111,4 @@ class NotificationManager {
}) })
} }
} }
module.exports = NotificationManager module.exports = NotificationManager