Skip to content

Commit 20faaad

Browse files
committed
feat: add timestamp to system status
1 parent f3ab88a commit 20faaad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/app/api/manage/system/status

src/app/api/manage/system/status/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ export const dynamic = "force-dynamic";
55
export const fetchCache = "force-no-store";
66

77
/**
8-
* Set the system status
8+
* GET the system status
99
* @constructor
1010
*/
1111
export async function GET(request: Request) {
1212
await dbConnect();
13-
return Response.json({ status: await getSystemStatus() })
13+
return Response.json({ status: await getSystemStatus(), timestamp: new Date() });
1414
}

0 commit comments

Comments
 (0)