feat: generic chatbot

This commit is contained in:
Davidson Gomes
2024-08-21 16:37:24 -03:00
parent 891d00ccba
commit 61523c0a79
7 changed files with 6 additions and 15 deletions

View File

@@ -106,7 +106,7 @@ export class RabbitmqController extends EventController implements EventControll
});
if (!data) {
throw new NotFoundException('Instance rabbitmq not found');
return null;
}
return data;

View File

@@ -91,7 +91,7 @@ export class SqsController extends EventController implements EventControllerInt
});
if (!data) {
throw new NotFoundException('Instance SQS not found');
return null;
}
return data;

View File

@@ -63,7 +63,7 @@ export class WebhookController extends EventController implements EventControlle
});
if (!data) {
throw new NotFoundException('Instance webhook not found');
return null;
}
return data;

View File

@@ -102,7 +102,7 @@ export class WebsocketController extends EventController implements EventControl
});
if (!data) {
throw new NotFoundException('Instance websocket not found');
return null;
}
return data;