fix(plan): correct off-by-one in getPb import path for [id]/* routes
This commit is contained in:
parent
3299b67442
commit
b13e4c38ab
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue