stacker.news/worker/ephemeralItems.js
ekzyis d237861ff5
Use module path aliases (#938)
* Use module path aliases

* fix broken refactor

* path mapping for svgs, style, and remaining places (bonus: lose babel dep)

---------

Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-03-19 19:37:31 -05:00

6 lines
159 B
JavaScript

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