From 4bc0fbb159088f742d47ad34c0b6fa2a8beb1863 Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Tue, 20 Aug 2024 09:54:07 -0400 Subject: [PATCH] chore: add log for tool deletion (#16) Signed-off-by: Grant Linville --- src/lib/db.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/db.ts b/src/lib/db.ts index 5c1a711..7a5f91e 100644 --- a/src/lib/db.ts +++ b/src/lib/db.ts @@ -79,6 +79,7 @@ export async function upsertToolForUrl(url: string, tools: Tool[], examples: Too } export async function removeToolForUrlIfExists(url: string): Promise { + console.log('Deleting tool for url:', url) const toolEntry = await prisma.toolEntry.findFirst({ where: { reference: url } }) if (!toolEntry) {