mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-25 23:06:43 +02:00
Notification create/update events UI
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const axios = require('axios')
|
||||
const Logger = require("../Logger")
|
||||
const { notificationData } = require('../utils/notifications')
|
||||
|
||||
class NotificationManager {
|
||||
constructor(db) {
|
||||
@@ -8,6 +9,10 @@ class NotificationManager {
|
||||
this.notificationFailedMap = {}
|
||||
}
|
||||
|
||||
getData() {
|
||||
return notificationData
|
||||
}
|
||||
|
||||
onPodcastEpisodeDownloaded(libraryItem, episode) {
|
||||
if (!this.db.notificationSettings.isUseable) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user