From b2ea055c045a2ffff031085c2f752b73ec85f79e Mon Sep 17 00:00:00 2001 From: Atlinx Date: Tue, 24 May 2022 12:21:01 -0400 Subject: [PATCH] fix: minor syntax mistakes in docs --- docs/chapters/advanced/computed-fields.md | 2 +- docs/chapters/advanced/security.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/chapters/advanced/computed-fields.md b/docs/chapters/advanced/computed-fields.md index 9e72422a5..d744a0c9c 100644 --- a/docs/chapters/advanced/computed-fields.md +++ b/docs/chapters/advanced/computed-fields.md @@ -26,7 +26,7 @@ const entityManager = new EntityManager({ }, compute: async (user) => { return { - fullName: `${user.fisrtName} ${user.lastName}`, + fullName: `${user.firstName} ${user.lastName}`, } } }) diff --git a/docs/chapters/advanced/security.md b/docs/chapters/advanced/security.md index 286ef0d33..619de9bca 100644 --- a/docs/chapters/advanced/security.md +++ b/docs/chapters/advanced/security.md @@ -222,7 +222,7 @@ const entityManager = new EntityManager({ }, defaultPermissions: PERMISSION.DENY, }, - } + }, defaultPermissions: PERMISSION.DENY } ) @@ -260,7 +260,7 @@ const entityManager = new EntityManager({ }, defaultPermissions: PERMISSION.DENY, }, - } + }, defaultPermissions: PERMISSION.DENY } ) @@ -305,7 +305,7 @@ const entityManager = new EntityManager({ }, defaultPermissions: PERMISSION.DENY, }, - } + }, defaultPermissions: PERMISSION.DENY } ) @@ -345,7 +345,7 @@ const entityManager = new EntityManager({ }, defaultPermissions: PERMISSION.DENY, }, - } + }, defaultPermissions: PERMISSION.DENY } )