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}`);

View file

@ -12,7 +12,6 @@
"@emotion/styled": "^11.13.0",
"@link-stack/signal-api": "*",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.173",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.12.0",
"@mui/x-date-pickers-pro": "^7.12.0",