Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes data filtering error when pagination is enabled In the 'authorizeAfter' function, an incorrect definition of the data format when calling the 'feathersUtils.getItemsIsArray' function resulted in the 'isArray' variable being incorrectly set to 'false', which resulted in the 'getOrFind' variable being incorrectly set to 'get'. As a result, it affected incorrect data filtering when the user requests data using the 'find' method with pagination enabled and a restriction on allowed fields. * Fixes data filtering error when pagination is enabled In the 'authorizeAfter' function, an incorrect definition of the data format when calling the 'feathersUtils.getItemsIsArray' function resulted in the 'isArray' variable being incorrectly set to 'false', which resulted in the 'getOrFind' variable being incorrectly set to 'get'. As a result, it affected incorrect data filtering when the user requests data using the 'find' method with pagination enabled and a restriction on allowed fields. Fix #95 * fix: getItemsIsArray result/automatic --------- Co-authored-by: German Shapkov <[email protected]>
- Loading branch information