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