mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-08 23:04:51 +02:00
Init sqlite take 2
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
const { getId } = require('../utils/index')
|
||||
const uuidv4 = require("uuid").v4
|
||||
|
||||
class Notification {
|
||||
constructor(notification = null) {
|
||||
@ -57,7 +57,7 @@ class Notification {
|
||||
}
|
||||
|
||||
setData(payload) {
|
||||
this.id = getId('noti')
|
||||
this.id = uuidv4()
|
||||
this.libraryId = payload.libraryId || null
|
||||
this.eventName = payload.eventName
|
||||
this.urls = payload.urls
|
||||
|
Reference in New Issue
Block a user