fix(plan): correct off-by-one in getPb import path for [id]/* routes

This commit is contained in:
Ysterbaard 2026-09-18 19:08:28 +02:00
parent 3299b67442
commit b13e4c38ab

View file

@ -530,7 +530,7 @@ Create `app/api/payments/[id]/replace-pop/route.ts`:
```typescript
import { NextRequest, NextResponse } from "next/server";
import { getPb } from "../../../../../lib/pb";
import { getPb } from "../../../../lib/pb";
const BATCHES = "JEI_payment_batches";
const ALLOWED_MIME = new Set(["application/pdf", "image/jpeg", "image/png"]);
@ -595,7 +595,7 @@ Create `app/api/payments/[id]/unpay/route.ts`:
```typescript
import { NextRequest, NextResponse } from "next/server";
import { getPb } from "../../../../../lib/pb";
import { getPb } from "../../../../lib/pb";
const BATCHES = "JEI_payment_batches";
const INVOICES = "JEI_invoices";