feat: improve admin upgrade logs
This commit is contained in:
@@ -50,7 +50,7 @@ export async function GET(request: NextRequest) {
|
||||
const states = await readStates();
|
||||
return NextResponse.json({
|
||||
latest: states[0] || null,
|
||||
history: states.slice(0, 12),
|
||||
history: states,
|
||||
stateDir: getUpgradeStateRoot(),
|
||||
running: states.some(job => RUNNING_STATUSES.has(job.status)),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user