stacker.news/worker/ephemeralItems.js

6 lines
159 B
JavaScript
Raw Permalink Normal View History

import { deleteItemByAuthor } from '@/lib/item.js'
2023-11-21 23:32:22 +00:00
export async function deleteItem ({ data: { id }, models }) {
await deleteItemByAuthor({ models, id })
}