denoland / saaskit

A modern SaaS template built on Fresh.
https://deno.com/saaskit
MIT License
1.15k stars 140 forks source link

refactor: `getAndDeleteNotification()` #544

Closed iuioiua closed 1 year ago

iuioiua commented 1 year ago

This change replaces getNotification() and deleteNotification() with getAndDeleteNotification(), which is atomic.