From 49863a21fd3bbcc24c4731ffa5019aa32d2becd7 Mon Sep 17 00:00:00 2001 From: Jason Raimondi Date: Mon, 12 Aug 2024 21:34:01 -0400 Subject: [PATCH] docs(fix): func is async --- docs/docs/adapters/vanilla.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/adapters/vanilla.md b/docs/docs/adapters/vanilla.md index 85ececc7..25610295 100644 --- a/docs/docs/adapters/vanilla.md +++ b/docs/docs/adapters/vanilla.md @@ -40,7 +40,7 @@ app.post('/oauth2/token', async (c) => { const authorizationServer = c.get("authorization_server"); const oauthResponse = await authorizationServer - .respondToAccessTokenRequest(requestFromVanilla(request)) + .respondToAccessTokenRequest(await requestFromVanilla(request)) .catch(e => { error(400, e.message); });