codeforboston / urban-league-heat-pump-accelerator

Urban League Heat Pump Accelerator Project
MIT License
32 stars 22 forks source link

Surveyor View: My Account page needs to hooked up to RTK Query / backend #299

Open Rando-cal opened 1 year ago

Rando-cal commented 1 year ago

Surveyors should be able to view the data associated with their accounts:

{
    "id": 1,
    "firstname": "Alice",
    "lastname": "Abbott",
    "email": "alice.abbott@test.com",
    "phone": "(123) 111-1111",
    "street_address": "1 Boylston Street",
    "city": "Boston",
    "state": "MA",
    "zipcode": "2116",
    "geocode": "abc",
    "role": "surveyor",
    "status": "active",
    "url": "http://localhost:3000/surveyors/1.json"
}
LWest001 commented 1 year ago

How does the app keep track of the user id that is logged in? I don't see it present in the redux store when logged in as surveyor.

mattdelsordo commented 1 year ago

How does the app keep track of the user id that is logged in? I don't see it present in the redux store when logged in as surveyor.

This should be resolved by #318, itll be stored in the login slice which isn't currently on main.