kaneo (minimalist kanban) fork to experiment adding a tangled integration github.com/usekaneo/kaneo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cd7cada2f86b4e866a15b4323bb8d6d7ab5bba8b 13 lines 338 B view raw
1import { eq } from "drizzle-orm"; 2import db from "../../database"; 3import { notificationTable } from "../../database/schema"; 4 5async function clearNotifications(userId: string) { 6 await db 7 .delete(notificationTable) 8 .where(eq(notificationTable.userId, userId)); 9 10 return { success: true }; 11} 12 13export default clearNotifications;