Fix ignore route slug collision ([packageId] → [id]) — Next.js runtime 500s (ISS-047 part B)
CI / build + unit + e2e (pull_request) Successful in 8m21s

This commit is contained in:
2026-09-20 18:07:18 +00:00
parent 8a12f07703
commit b4b25551ff
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -165,14 +165,14 @@ export const openApiSpec = {
},
},
},
'/api/packages/{packageId}/ignore': {
'/api/packages/{id}/ignore': {
post: {
summary: 'Ignore an open job',
description:
'Dismiss an OPEN job so it leaves the market permanently (v0.29.0, ISS-047 part B). No penalty and nothing else changes — the top-up logic spawns a replacement on the next tick. No body.',
operationId: 'ignorePackage',
parameters: [
{ name: 'packageId', in: 'path', required: true, schema: { type: 'string' } },
{ name: 'id', in: 'path', required: true, schema: { type: 'string' } },
],
responses: {
200: {