Skip to content

Commit

Permalink
Fix context validation
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Sep 24, 2024
1 parent 104f297 commit 624ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function action({ request, context }: ActionFunctionArgs) {
const expire = formData.get('expire')
const remove = !!formData.get('remove')

await createRule({ rule, zone, address, expire, remove }, context.cloudflare)
await createRule({ rule, zone, address, expire, remove }, context)

return redirect('/manage')
}
Expand Down

0 comments on commit 624ce08

Please sign in to comment.