working through axios bug

main
Jason 2 years ago
parent f20ecef97d
commit be49f25787

@ -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");

Loading…
Cancel
Save