Skip to content

Commit

Permalink
fix: typo in error message when a user is not authorized to perform a…
Browse files Browse the repository at this point in the history
…n action
  • Loading branch information
Guillaume Gautreau committed Apr 9, 2024
1 parent 6360f1d commit 610489a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/authorization/authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class AuthorizationService {
});

if (!canOnCollection) {
throw new ForbiddenError(`User ${email} is not authorize to ${event} on collection ${collectionName}`);
throw new ForbiddenError(`User ${email} is not authorized to ${event} on collection ${collectionName}`);
}
}

Expand Down

0 comments on commit 610489a

Please sign in to comment.