Skip to content

Commit

Permalink
if this works, its ironic
Browse files Browse the repository at this point in the history
  • Loading branch information
artlu99 committed Jul 1, 2024
1 parent d5d38ba commit 35cf9c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion functions/getCastsByFollowing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {
});
if (!res.ok) throw new Error('Failed to fetch data');

await sendPosthogEvent(context.env, 'getCastsByFollowing', 'not tracking by fid');
await sendPosthogEvent(context.env, 'getCastsByFollowing', 'not_tracking_by_fid');

const followingCronFeedResponse = (await res.json()) as FeedObject;
return new Response(JSON.stringify(followingCronFeedResponse));
Expand Down
2 changes: 1 addition & 1 deletion functions/getFollowingByFid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {
});
if (!res.ok) throw new Error('Failed to fetch data');

await sendPosthogEvent(context.env, 'getFollowingByFid', 'not tracking by fid');
await sendPosthogEvent(context.env, 'getFollowingByFid', 'not_tracking_by_fid');

const followingResponse = (await res.json()) as FollowingByFidResponseSchema;
return new Response(JSON.stringify(followingResponse));
Expand Down
2 changes: 1 addition & 1 deletion functions/getForYouFeed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {
throw new Error('Failed to fetch data');
}

await sendPosthogEvent(context.env, 'getForYouFeed', 'not tracking by fid');
await sendPosthogEvent(context.env, 'getForYouFeed', 'not_tracking_by_fid');

const forYouFeedResponse = (await res.json()) as FeedObject;
return new Response(JSON.stringify(forYouFeedResponse));
Expand Down
2 changes: 1 addition & 1 deletion functions/getNeynarReactionsByFid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const onRequestPost: PagesFunction<Env> = async (context) => {

if (!res.ok) throw new Error('Failed to fetch data');

await sendPosthogEvent(context.env, 'getNeynarReactionsByFid', 'not tracking by fid');
await sendPosthogEvent(context.env, 'getNeynarReactionsByFid', 'not_tracking_by_fid');

const reactionsResponse = (await res.json()) as ReactionsCastResponse;
return new Response(JSON.stringify(reactionsResponse));
Expand Down

0 comments on commit 35cf9c7

Please sign in to comment.