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 }); ... }); ```