stacker.news/worker/ephemeralItems.js

6 lines
159 B
JavaScript
Raw Normal View History

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