From 3366e16cfdb5cb387352391817dc10c9cb274f6d Mon Sep 17 00:00:00 2001 From: Ido Widya Yudhatama <67848126+idoyudha@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:04:58 +0700 Subject: [PATCH] Update protect-resource.mdx Fix wrong typing 'cusom_data' to 'custom_data' --- .../version-1.x/docs/recipes/rbac/protect-resource.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-1.x/docs/recipes/rbac/protect-resource.mdx b/versioned_docs/version-1.x/docs/recipes/rbac/protect-resource.mdx index 755640067c3..214f7a7db2c 100644 --- a/versioned_docs/version-1.x/docs/recipes/rbac/protect-resource.mdx +++ b/versioned_docs/version-1.x/docs/recipes/rbac/protect-resource.mdx @@ -110,7 +110,7 @@ const config: LogtoConfig = { }; ``` -Per our [assumption](#assumption), scope `cusom_data` is not available in the API Resource `https://api-1.store.io`. When getting an Access Token: +Per our [assumption](#assumption), scope `custom_data` is not available in the API Resource `https://api-1.store.io`. When getting an Access Token: ```ts const accessToken = await logtoClient.getAccessToken('https://api-1.store.io');