d237861ff5
* 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>
6 lines
159 B
JavaScript
6 lines
159 B
JavaScript
import { deleteItemByAuthor } from '@/lib/item.js'
|
|
|
|
export async function deleteItem ({ data: { id }, models }) {
|
|
await deleteItemByAuthor({ models, id })
|
|
}
|