From b13e4c38ab94ff575739b6de74da8edd44e6d9e9 Mon Sep 17 00:00:00 2001 From: Ysterbaard Date: Fri, 18 Sep 2026 19:08:28 +0200 Subject: [PATCH] fix(plan): correct off-by-one in getPb import path for [id]/* routes --- .../plans/2026-09-18-jei-payments-and-remittance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/plans/2026-09-18-jei-payments-and-remittance.md b/docs/superpowers/plans/2026-09-18-jei-payments-and-remittance.md index 4f3c227..da2660e 100644 --- a/docs/superpowers/plans/2026-09-18-jei-payments-and-remittance.md +++ b/docs/superpowers/plans/2026-09-18-jei-payments-and-remittance.md @@ -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";