Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gregLibert committed Mar 29, 2024
1 parent f91c6d3 commit f8f4038
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assembly/security/accessControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export class AccessControl<T> {
* @param permission - The permission bitmask to check.
* @param user - The user identified by his address.
* @returns true if the user has the permission, false otherwise.
*
*
* @throws if the permission does not exist.
*/
public hasPermission(permission: T, user: Address): boolean {
Expand Down Expand Up @@ -220,7 +220,7 @@ export class AccessControl<T> {
* @param permission - The permission bitmask to check.
* @param user - The user identified by his address.
* @returns true if the user has any of the permissions, false otherwise.
*
*
* @throws if the permission does not exist.
*/
public hasAnyPermission(permission: T, user: Address): boolean {
Expand Down Expand Up @@ -248,5 +248,4 @@ export class AccessControl<T> {
`User does not have any of the permissions.`,
);
}

}

0 comments on commit f8f4038

Please sign in to comment.