Linting.
This commit is contained in:
parent
52d05c2910
commit
7ee4802af2
|
@ -28,7 +28,10 @@ export function isAdmin(user: User | ContextUser): boolean {
|
||||||
return hasAdminPermissions(user)
|
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)
|
return isBuilder(user, appId) || isAdmin(user)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue