Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rando-cal opened this issue May 3, 2023 · 2 comments

Comments

@Rando-cal
Copy link
Contributor

Rando-cal commented May 3, 2023

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

{
    "id": 1,
    "firstname": "Alice",
    "lastname": "Abbott",
    "email": "[email protected]",
    "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"
}
@Rando-cal Rando-cal moved this to Backlog Priorizado in Urban League Heat Pump Accelerator May 3, 2023
@Rando-cal Rando-cal changed the title My Account page needs to hooked up to RTK Query / backend Surveyor View: My Account page needs to hooked up to RTK Query / backend May 3, 2023
@LWest001
Copy link
Contributor

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
Copy link
Contributor

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.

@LWest001 LWest001 linked a pull request Jun 19, 2023 that will close this issue
1 task
@LWest001 LWest001 moved this from Backlog Priorizado to In Progress in Urban League Heat Pump Accelerator Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants