⬇️ Fixing ADC++ socket download notifications

This commit is contained in:
2025-06-03 21:57:44 -04:00
parent 7313fc4df7
commit 999af29800
2 changed files with 33 additions and 29 deletions

View File

@@ -59,7 +59,7 @@ class AirDCPPSocket {
}
// Method to add listeners to the socket instance for handling real-time updates or events
async addListener(event: any, handlerName: any, callback: any, id: any) {
async addListener(event: any, handlerName: any, callback: any, id?: any) {
// Attach a listener to the socket instance
return await this.socketInstance.addListener(
event,