UNLV-CS472-672 / 2024-S-GROUP5-Munch

The Munch app is a social platform where users create profiles by selecting preferred foods.
1 stars 11 forks source link

Create Post Always has Error Toast Message #112

Closed StacL closed 5 months ago

StacL commented 5 months ago

Describe the bug Create post makes a post according to backend (201 HTTP response), but frontend still marks it as failing and new post doesn't show up under author's profile page.

To Reproduce Steps to reproduce the behavior:

  1. login in
  2. make a post
  3. see the failing toast msg
  4. go to profile page
  5. see if there was a new post made
  6. check backend logs to see if a post was made
  7. log out and log in again
  8. go to profile page
  9. notice the post
StacL commented 5 months ago

I think this is a 2 part issue: 1st: fix toast message

2nd: fix new post display