stacker.news/worker/ephemeralItems.js

6 lines
156 B
JavaScript
Raw Normal View History

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