This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug in scope creation when scope exists (#10260)
When creating a scope for a user who already had that scope, existing logic was throwing errors in feathers about 'Cannot redefine propery: Symbol'. It's unclear why this was being thrown since it dealt with feathers internals, but simplifying the checkExistingScopes logic to just remove existing scopes instead of trying to track which ones already existed, like is already done when patching a user with new scopes, solved the problem.
- Loading branch information