getting rid of a parameter

main
Jason 3 years ago
parent e26870a3f6
commit f9176cc7df

@ -182,7 +182,7 @@ class User {
//what information should appear in this array?
//my guess is some story information, information to load story later
async insertStoryIntoFavorites(username, story) {
async insertStoryIntoFavorites(story) {
const response = await axios({
url: `${BASE_URL}/${username}/favorites/${story.storyId}`,

Loading…
Cancel
Save