Skip to content

Commit f40d968

Browse files
committed
Fix templating docs
1 parent d8d650a commit f40d968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/keyconcepts/templating/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Currently, you can get the following data from request to the response via templ
4545
+------------------------------+-----------------------------------------------------------------------+--------------------------------------------------------------+-----------------------+
4646
| State | ``{{ State.basket }}`` | State Store: ``{"basket":"eggs"}`` | eggs |
4747
+------------------------------+-----------------------------------------------------------------------+--------------------------------------------------------------+-----------------------+
48-
| JWT claim (string) | ``{{ jsonFromJWT '$.payload.user_id' (Request.Header.Authorization) }}`` | Header: ``Authorization: Bearer <JWT with user_id claim>`` | 7b0d170d-... (user_id)|
48+
| JWT claim (string) | ``{{ jsonFromJWT '$.payload.id' (Request.Header.Authorization) }}`` | Header: ``Authorization: Bearer <JWT with id claim>`` | 7b0d170d-... (id) |
4949
+------------------------------+-----------------------------------------------------------------------+--------------------------------------------------------------+-----------------------+
5050

5151
Helper Methods

0 commit comments

Comments
 (0)