stacker.news/worker/ephemeralItems.js
2023-12-04 21:34:06 -06:00

6 lines
160 B
JavaScript

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