AshlenPrice/capstone-api

Profile visible to any signed in user

Opened this issue · 0 comments

Not sure if a profile should be available to a user
see request below, Ask lauren or file an issue on capstone repo GA

HTTP/1.1 200 OK
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"c6cf5adee3cfeb40a563349f6c3471d7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a1c20f14-3cc4-4f2c-a8cf-be690f7434c8
X-Runtime: 0.213430
Vary: Origin
Transfer-Encoding: chunked

{"profile":{"id":2,"given_name":"penny","family_name":"mcface","role":"kitchen_owner","user":{"id":2,"email":"penny@penny.com"}}}