fix: update some service and handlers

This commit is contained in:
riefive
2025-10-06 10:09:24 +07:00
parent ecdc5d80d9
commit fe23c75aca
23 changed files with 235 additions and 897 deletions

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
import { createCrudHandler } from '~/handlers/_handler'
import { postInstallation, patchInstallation, removeInstallation } from '~/services/installation.service'
import { create, update, remove } from '~/services/installation.service'
export const {
recId,
@@ -15,7 +15,7 @@ export const {
handleActionRemove,
handleCancelForm,
} = createCrudHandler({
post: postInstallation,
patch: patchInstallation,
remove: removeInstallation,
post: create,
patch: update,
remove: remove,
})