Skip to content

Commit

Permalink
doc: update /whoami endpoint "id" response field
Browse files Browse the repository at this point in the history
Name of the field has changed from "_id" to "id" as a part of PR #280.

Signed-off-by: Paweł Wieczorek <[email protected]>
  • Loading branch information
pawiecz committed Jul 26, 2023
1 parent 2e43a18 commit 66dc425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ $ curl -X 'GET' \
'http://localhost:8001/latest/whoami' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJib2IifQ.KHkILtsJaCmueOfFCj79HGr6kHamuZFdB1Yz_5GqcC4'
{"_id":"615f30020eb7c3c6616e5ac3","username":"bob","hashed_password":"$2b$12$VtfVij6zz20F/Qr0Ri18O.11.0LJMMXyJxAJAHQbKU0jC96eo2fr.","active":true}
{"id":"615f30020eb7c3c6616e5ac3","username":"bob","hashed_password":"$2b$12$VtfVij6zz20F/Qr0Ri18O.11.0LJMMXyJxAJAHQbKU0jC96eo2fr.","active":true}
```

### Setup SSH keys
Expand Down

0 comments on commit 66dc425

Please sign in to comment.