mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-26 05:44:40 +02:00
Fix:Client emitter users not found no longer is an error
This commit is contained in:
parent
d368988899
commit
3a34daef7c
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Server {
|
||||||
clientEmitter(userId, ev, data) {
|
clientEmitter(userId, ev, data) {
|
||||||
var clients = this.getClientsForUser(userId)
|
var clients = this.getClientsForUser(userId)
|
||||||
if (!clients.length) {
|
if (!clients.length) {
|
||||||
return Logger.error(`[Server] clientEmitter - no clients found for user ${userId}`)
|
return Logger.debug(`[Server] clientEmitter - no clients found for user ${userId}`)
|
||||||
}
|
}
|
||||||
clients.forEach((client) => {
|
clients.forEach((client) => {
|
||||||
if (client.socket) {
|
if (client.socket) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue