Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
artlu99 committed Nov 3, 2024
1 parent 3a97222 commit 9527541
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
2 changes: 2 additions & 0 deletions functions/getSassyHashes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const getFid = async (privyAuthToken: string, env: Env): Promise<number> => {

try {
const user = await privy.getUser({ idToken: privyAuthToken });
console.log("Privy User:", user);

return user?.farcaster?.fid;
} catch (error) {
console.error(`Token verification failed with error ${error}.`);
Expand Down
34 changes: 17 additions & 17 deletions src/api/mocks/mockornot.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// comment out for prod
import './allChannels.api.mock';
import './botOrNot.api.mock';
import './castByHash.api.mock';
import './channelById.api.mock';
import './cronFeed.api.mock';
import './decent-bookmarks.api.mock';
import './fcan.api.mock';
import './followingByFid.api.mock';
import './followingFeed.api.mock';
import './forYouFeed.api.mock';
import './hubReactionsByFid.api.mock';
import './metadata.api.mock';
import './neynarReactionsByFid.api.mock';
import './reactionOnHash.api.mock';
import './reactionsByHash.api.mock';
import './sassyHash.api.mock';
import './userFollowingChannels.api.mock';
// import './allChannels.api.mock';
// import './botOrNot.api.mock';
// import './castByHash.api.mock';
// import './channelById.api.mock';
// import './cronFeed.api.mock';
// import './decent-bookmarks.api.mock';
// import './fcan.api.mock';
// import './followingByFid.api.mock';
// import './followingFeed.api.mock';
// import './forYouFeed.api.mock';
// import './hubReactionsByFid.api.mock';
// import './metadata.api.mock';
// import './neynarReactionsByFid.api.mock';
// import './reactionOnHash.api.mock';
// import './reactionsByHash.api.mock';
// import './sassyHash.api.mock';
// import './userFollowingChannels.api.mock';

0 comments on commit 9527541

Please sign in to comment.