Fix build errors

This commit is contained in:
Darren Clarke 2024-04-21 20:47:55 +02:00
parent f93c4ad317
commit e720336768
22 changed files with 91 additions and 96 deletions

View file

@ -67,6 +67,12 @@ const deleteBot = async (req: NextRequest) => {
return NextResponse.json({ response: "ok" });
};
const handleWebhook = async (req: NextRequest) => {
console.log({ req });
return NextResponse.json({ response: "ok" });
};
export const Whatsapp: Service = {
getAllBots,
getOneBot,
@ -79,4 +85,5 @@ export const Whatsapp: Service = {
refreshBot,
createBot,
deleteBot,
handleWebhook,
};