From 7ee4802af2dfb5540318c74f3d1e0c7b309fe1d7 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 31 Jul 2023 13:45:06 +0100 Subject: [PATCH] Linting. --- packages/shared-core/src/sdk/documents/users.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/shared-core/src/sdk/documents/users.ts b/packages/shared-core/src/sdk/documents/users.ts index facf10dfe3..0f0983c6f7 100644 --- a/packages/shared-core/src/sdk/documents/users.ts +++ b/packages/shared-core/src/sdk/documents/users.ts @@ -28,7 +28,10 @@ export function isAdmin(user: User | ContextUser): boolean { return hasAdminPermissions(user) } -export function isAdminOrBuilder(user: User | ContextUser, appId?: string): boolean { +export function isAdminOrBuilder( + user: User | ContextUser, + appId?: string +): boolean { return isBuilder(user, appId) || isAdmin(user) }