Skip to content

Commit

Permalink
logging for Privy token
Browse files Browse the repository at this point in the history
  • Loading branch information
artlu99 committed Nov 3, 2024
1 parent 7eab752 commit d905e33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions/getSassyHashes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {
const js = (await request.json()) as SassyHashRequest;
const { privyAuthToken, castHash } = js;

const cookies: string = request.headers.get('cookie');
console.log('cookies:', cookies);

const fid = await getFid(privyAuthToken, env);
if (!fid) return new Response(JSON.stringify({ error: 'Failed to fetch Farcaster FID' }), { status: 500 });

Expand Down

0 comments on commit d905e33

Please sign in to comment.