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 (#1026)
  • Loading branch information
Guillaume Gautreau authored Apr 9, 2024
1 parent 6360f1d commit fa74ecf
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 fa74ecf

Please sign in to comment.