Skip to content

Commit 5b5804a

Browse files
fix(build): unmangle generic in admin outbox requeue route
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent fd8e392 commit 5b5804a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • apps/sim/app/api/v1/admin/outbox/[id]/requeue

apps/sim/app/api/v1/admin/outbox/[id]/requeue/route.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ export const dynamic = 'force-dynamic'
2020
* requeued — completed/pending/processing rows are rejected to avoid
2121
* operator errors.
2222
*/
23-
export const POST =
24-
withRouteHandler(withAdminAuthParams < { id: string }) >
25-
(async (_request, { params }) => {
23+
export const POST = withRouteHandler(
24+
withAdminAuthParams<{ id: string }>(async (_request, { params }) => {
2625
const { id } = await params
2726

2827
try {
@@ -64,3 +63,4 @@ export const POST =
6463
return NextResponse.json({ success: false, error: toError(error).message }, { status: 500 })
6564
}
6665
})
66+
)

0 commit comments

Comments
 (0)