From be49f25787b64ba3466d58c5b635cb7d617d499b Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 2 Jun 2022 22:04:15 -0500 Subject: [PATCH] working through axios bug --- js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/models.js b/js/models.js index 4969c0c..1b550b0 100644 --- a/js/models.js +++ b/js/models.js @@ -92,7 +92,7 @@ class StoryList { const response = await axios.post( `${BASE_URL}/stories`, - { params: { token: user.loginToken, story: newStory } } + { token: user.loginToken, story: newStory } ); console.log("made it after the axios call");