mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 22:07:58 +03:00
fix backwards returns in ugpt /history
This commit is contained in:
@@ -131,7 +131,7 @@ router.get("/history", async (req, res) => {
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
description: `Successfully returned history for the past ${snapshots.length} days.`,
|
||||
body: [...snapshots, currentSnapshot],
|
||||
body: [currentSnapshot, ...snapshots],
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user