From ea3bf2cc3c1e8539729fc8004ccb7216caa53e68 Mon Sep 17 00:00:00 2001 From: amal Date: Mon, 13 Apr 2026 11:36:26 +0800 Subject: [PATCH] upd : api monitoring --- src/app/api/monitoring/[[...slug]]/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/api/monitoring/[[...slug]]/route.ts b/src/app/api/monitoring/[[...slug]]/route.ts index 8d0d83e..fb06cbb 100644 --- a/src/app/api/monitoring/[[...slug]]/route.ts +++ b/src/app/api/monitoring/[[...slug]]/route.ts @@ -490,6 +490,7 @@ const MonitoringServer = new Elysia({ prefix: "/api/monitoring" }) name: true, isActive: true, createdAt: true, + desc: true, User: { where: { idUserRole: "supadmin" @@ -515,6 +516,7 @@ const MonitoringServer = new Elysia({ prefix: "/api/monitoring" }) id: data?.id, name: data?.name, isActive: data?.isActive, + desc: data?.desc, createdAt: data?.createdAt ? formatDateTime(data.createdAt) : null, perbekel: data?.User[0]?.name || null, } : null;