stacker.news/worker/ephemeralItems.js

6 lines
160 B
JavaScript

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