Skip to content

Commit fabfe44

Browse files
Adam GoughAdam Gough
authored andcommitted
fix: bun run lint
1 parent 63c3771 commit fabfe44

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/sim/app/api/memory/[id]/route.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ export async function DELETE(
129129
}
130130

131131
// Hard delete the memory
132-
await db
133-
.delete(memory)
134-
.where(and(eq(memory.key, id), eq(memory.workflowId, workflowId)))
132+
await db.delete(memory).where(and(eq(memory.key, id), eq(memory.workflowId, workflowId)))
135133

136134
logger.info(`[${requestId}] Memory deleted successfully: ${id} for workflow: ${workflowId}`)
137135
return NextResponse.json(

0 commit comments

Comments
 (0)