stacker.news/worker/ephemeralItems.js

6 lines
156 B
JavaScript

import { deleteItemByAuthor } from '@/lib/item'
export async function deleteItem ({ data: { id }, models }) {
await deleteItemByAuthor({ models, id })
}