fix: update some service and handlers
This commit is contained in:
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { createCrudHandler } from '~/handlers/_handler'
|
||||
import { postMaterial, patchMaterial, removeMaterial } from '~/services/material.service'
|
||||
import { create, update, remove } from '~/services/material.service'
|
||||
|
||||
export const {
|
||||
recId,
|
||||
@@ -15,7 +15,7 @@ export const {
|
||||
handleActionRemove,
|
||||
handleCancelForm,
|
||||
} = createCrudHandler({
|
||||
post: postMaterial,
|
||||
patch: patchMaterial,
|
||||
remove: removeMaterial,
|
||||
post: create,
|
||||
patch: update,
|
||||
remove: remove,
|
||||
})
|
||||
Reference in New Issue
Block a user