VFMCS / web-app

This is the repository for webapp
MIT License
1 stars 2 forks source link

Bug display correct farmer products #36

Open lucamne opened 1 year ago

lucamne commented 1 year ago

Describe the bug Upon registering as a farmer you are shown the inventory of the farmer with user_id = 0 until the page is reloaded

To Reproduce Steps to reproduce the behavior:

  1. Go to sign up
  2. Create a new farmer
  3. You will be displayed with products of user 0

Expected behavior There should be no products displayed

Priority Medium

Timeline 1 week

Status Being worked on

Additional context We know the issue is the database is being queried before the new user has been saved to the database. We just need to implement code that will prevent this.