mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 02:39:05 +02:00
Update:No longer creating initial root user and initial library, add init root user page, web app works with no libraries
This commit is contained in:
parent
63a8e2433e
commit
c962090c3a
20 changed files with 287 additions and 149 deletions
|
@ -42,6 +42,7 @@ class LibraryController {
|
|||
newLibraryPayload.displayOrder = this.db.libraries.length + 1
|
||||
library.setData(newLibraryPayload)
|
||||
await this.db.insertEntity('library', library)
|
||||
// TODO: Only emit to users that have access
|
||||
this.emitter('library_added', library.toJSON())
|
||||
|
||||
// Add library watcher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue