Dependency cleanup

This commit is contained in:
Darren Clarke 2024-08-07 12:02:33 +02:00
parent 2d892779bf
commit 2568547384
28 changed files with 170 additions and 482 deletions

View file

@ -13,7 +13,6 @@ export class Whatsapp extends Service {
const id = row.id;
const url = `${process.env.BRIDGE_WHATSAPP_URL}/api/bots/${id}`;
const result = await fetch(url, { cache: "no-store" });
console.log({ result1: result });
const json = await result.json();
await db
@ -25,7 +24,6 @@ export class Whatsapp extends Service {
if (!json.verified) {
const url = `${process.env.BRIDGE_WHATSAPP_URL}/api/bots/${id}/register`;
const result = await fetch(url, { method: "POST" });
console.log({ result2: result });
}
revalidatePath(`/whatsapp/${id}`);