mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-21 12:52:19 -06:00
Fix events structure to prevent "Instance not found" exception
This commit is contained in:
@@ -99,7 +99,7 @@ export class WebsocketController extends EventController {
|
||||
});
|
||||
|
||||
if (!data) {
|
||||
return null;
|
||||
throw new NotFoundException('Instance websocket not found');
|
||||
}
|
||||
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user