We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd8e392 commit 5b5804aCopy full SHA for 5b5804a
1 file changed
apps/sim/app/api/v1/admin/outbox/[id]/requeue/route.ts
@@ -20,9 +20,8 @@ export const dynamic = 'force-dynamic'
20
* requeued — completed/pending/processing rows are rejected to avoid
21
* operator errors.
22
*/
23
-export const POST =
24
- withRouteHandler(withAdminAuthParams < { id: string }) >
25
- (async (_request, { params }) => {
+export const POST = withRouteHandler(
+ withAdminAuthParams<{ id: string }>(async (_request, { params }) => {
26
const { id } = await params
27
28
try {
@@ -64,3 +63,4 @@ export const POST =
64
63
return NextResponse.json({ success: false, error: toError(error).message }, { status: 500 })
65
}
66
})
+)
0 commit comments