We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ab88a commit 20faaadCopy full SHA for 20faaad
1 file changed
src/app/api/manage/system/status/route.ts
@@ -5,10 +5,10 @@ export const dynamic = "force-dynamic";
5
export const fetchCache = "force-no-store";
6
7
/**
8
- * Set the system status
+ * GET the system status
9
* @constructor
10
*/
11
export async function GET(request: Request) {
12
await dbConnect();
13
- return Response.json({ status: await getSystemStatus() })
+ return Response.json({ status: await getSystemStatus(), timestamp: new Date() });
14
}
0 commit comments