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;