The GET /api/categories endpoint will now send the groups categories if you call dispatch(getCategories(currentGroupID)) otherwise if you just call dispatch(getCategories()) the backend will recognize that group_id isnt set, so it will use the user's token to figure out who you are and return all the categories for the groups you are in.
PlaceView is now fixed. UserProfile is working as well.
@johnnybcs Userprofile generates a lot of errors in the console. Check that out!
The GET /api/categories endpoint will now send the groups categories if you call
dispatch(getCategories(currentGroupID))
otherwise if you just calldispatch(getCategories())
the backend will recognize that group_id isnt set, so it will use the user's token to figure out who you are and return all the categories for the groups you are in.PlaceView is now fixed. UserProfile is working as well.
@johnnybcs Userprofile generates a lot of errors in the console. Check that out!