We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c67a86 commit bd9edd8Copy full SHA for bd9edd8
1 file changed
src/app/api/monthly-history/route.ts
@@ -9,7 +9,7 @@ export async function GET() {
9
10
const db = getDb();
11
const snapshots = db
12
- .prepare("SELECT month, income, expenses, categories_json, saving_goal FROM monthly_snapshots ORDER BY month DESC LIMIT 4")
+ .prepare("SELECT month, income, expenses, categories_json, saving_goal FROM monthly_snapshots ORDER BY month DESC LIMIT 6")
13
.all() as { month: string; income: number; expenses: number; categories_json: string; saving_goal: number }[];
14
15
console.debug("[monthly-history] Loaded", snapshots.length, "monthly snapshots");
0 commit comments