add test to checkout

This commit is contained in:
2025-12-16 22:25:34 -03:00
parent 086d3adcaf
commit b767aaaefd
13 changed files with 206 additions and 14 deletions

View File

@@ -96,8 +96,8 @@ export async function action({ params, request, context }: Route.ActionArgs) {
context
})
const result = (await r.json()) as { sk: string }
return redirect(`/${params.orgid}/enrollments/${result.sk}/submitted`)
const data = (await r.json()) as { sk: string }
return redirect(`/${params.orgid}/enrollments/${data.sk}/submitted`)
}
const emptyRow = {