Update docs/plugins/backend-plugin.md
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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 });
|
||||
...
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user