Skip to content

Commit

Permalink
Update webhooks.cn.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Nov 22, 2023
1 parent b777784 commit 3719a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/webhooks.cn.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ActionArgs } from "@remix-run/cloudflare";
import type { ActionFunctionArgs } from "@remix-run/cloudflare";

export function action({ request, context }: ActionArgs) {
export function action({ request, context }: ActionFunctionArgs) {
return context.time("routes/webhooks/cn#action", async () => {
void context.services.log.http(request);
await context.services.notes.webhook.perform(await request.json());
Expand Down

0 comments on commit 3719a57

Please sign in to comment.