Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Mar 16, 2024
1 parent 88134e1 commit e78ec28
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/queries/savedStories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import supabase from '../utils/supabase';
const favorites = 'favorites';
const readingList = 'reading list';


async function fetchUserStories(
user_id: string | undefined,
name: string | undefined,
Expand All @@ -25,9 +24,9 @@ async function fetchUserStories(
return [];
}

let storyData = []
let storyData = [];
for (const storyObject of storyObjects) {
const storyId = storyObject["story_id"];
const storyId = storyObject['story_id'];
const { data, error } = await supabase.rpc('fetch_story', {
input_id: storyId,
});
Expand All @@ -41,7 +40,7 @@ async function fetchUserStories(
);
}
} else {
storyData.push(data[0])
storyData.push(data[0]);
}
}

Expand Down

0 comments on commit e78ec28

Please sign in to comment.