fix(auth): export hasAuthorizations [EE-6595] (#11199)

pull/11201/head
Chaim Lev-Ari 2024-02-15 14:05:52 +02:00 committed by GitHub
parent f5f84c5fa4
commit 7b89b04667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ export function useIsEnvironmentAdmin({
/**
* will return true if the user has the authorizations. assumes the user is authenticated and not an admin
*/
function hasAuthorizations(
export function hasAuthorizations(
user: User,
authorizations: string | string[],
environmentId?: EnvironmentId