From dd6f27cf2b2d29bbcf0fbed7646553417f42c6b4 Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Tue, 21 Apr 2026 17:29:47 +0800 Subject: [PATCH] upd: update 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 fb06cbb..84c62af 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, + updatedAt: true, desc: true, User: { where: { @@ -518,6 +519,7 @@ const MonitoringServer = new Elysia({ prefix: "/api/monitoring" }) isActive: data?.isActive, desc: data?.desc, createdAt: data?.createdAt ? formatDateTime(data.createdAt) : null, + updatedAt: data?.updatedAt ? formatDateTime(data.updatedAt) : null, perbekel: data?.User[0]?.name || null, } : null; -- 2.49.1