From 80c934b5b2ce098edc581f4ddfb52ef98f4d53ee Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Sat, 2 Nov 2024 21:06:41 +0700 Subject: [PATCH] chore: change to identity instead of define it as literary id --- .../controller/skeleton-crud.controller.interface.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/skeleton/src/interfaces/controller/skeleton-crud.controller.interface.ts b/libs/skeleton/src/interfaces/controller/skeleton-crud.controller.interface.ts index 215186d..559552c 100644 --- a/libs/skeleton/src/interfaces/controller/skeleton-crud.controller.interface.ts +++ b/libs/skeleton/src/interfaces/controller/skeleton-crud.controller.interface.ts @@ -9,11 +9,11 @@ export interface ISkeletonListController { } export interface ISkeletonReadController { - read(id); + read(identity); } export interface ISkeletonDeleteController { - delete(id); + delete(identity); } export interface ISkeletonCreateController { @@ -21,7 +21,7 @@ export interface ISkeletonCreateController { } export interface ISkeletonUpdateController { - update(id, body); + update(identity, body); } export interface ISkeletonCRUDController