Skip to content

Commit

Permalink
ship
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgi committed Mar 6, 2024
1 parent 5466533 commit a63590c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/lib/utils.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function requireValidSignature(props: {

if (!isValid) {
console.error(`Invalid signature`, props.incomingSignature, props.payload);
throw redirect(`/`, { status: 403 });
throw json({}, { status: 403 });
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/routes/api.webhooks.neynar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export async function action({ request }: ActionFunctionArgs) {
}

if (process.env.NODE_ENV === "development") {
console.log(JSON.stringify(webhookNotif.data, null, 2));
console.log("data", JSON.stringify(webhookNotif.data, null, 2));
} else {
console.log({ channel: channel.id, castHash: webhookNotif.data.hash });
}
Expand Down

0 comments on commit a63590c

Please sign in to comment.