Fix build errors
This commit is contained in:
parent
f93c4ad317
commit
e720336768
22 changed files with 91 additions and 96 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue