format fix
Build and Push Container / Build App (pull_request) Successful in 1m54s
Build and Push Container / Build App (push) Successful in 2m0s
Build and Push Container / Publish App (pull_request) Skipped
Build and Push Container / Publish App (push) Skipped

This commit is contained in:
LiamPietralla committed 2026-10-15 17:28:40 +11:00
1 parent f061457d7f
commit d34a8474fc
35 files changed
+466 -294

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ type NextCtx = { params: Promise<{ slug?: string[] }> }
type PayloadCtx = { params: Promise<{ slug: string[] }> }
const coerceCtx = (ctx: NextCtx): PayloadCtx => ({
params: ctx.params.then(p => ({ slug: p?.slug ?? [] })),
params: ctx.params.then((p) => ({ slug: p?.slug ?? [] })),
})
export function GET(req: Request, ctx: NextCtx) {
@@ -40,4 +40,4 @@ export function PUT(req: Request, ctx: NextCtx) {
export function OPTIONS(req: Request, ctx: NextCtx) {
return REST_OPTIONS(config)(req, coerceCtx(ctx))
}
}