From 698c23ee289e4a1b6ef04ba4c3302e924dbb8d1c Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 5 Apr 2023 10:20:19 +0200 Subject: [PATCH] Update docs/plugins/backend-plugin.md Signed-off-by: Patrik Oldsberg --- docs/plugins/backend-plugin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/backend-plugin.md b/docs/plugins/backend-plugin.md index 897a66ae79..73b8f9027a 100644 --- a/docs/plugins/backend-plugin.md +++ b/docs/plugins/backend-plugin.md @@ -187,7 +187,7 @@ export async function createRouter( const { identity } = options; router.post('/example', async (req, res) => { - const identity = await identity.getIdentity({ request: req }); + const userIdentity = await identity.getIdentity({ request: req }); ... }); ```