From f9176cc7df0220c105c3d4f245a9a485e38d46c1 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 3 Jun 2022 17:12:33 -0500 Subject: [PATCH] getting rid of a parameter --- js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models.js b/js/models.js index f4d25de..87f74a0 100644 --- a/js/models.js +++ b/js/models.js @@ -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}`,