Fix queries to adding check access it will be removed in Drupal 10
Notes
Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
[Drupal 10 support] https://github.com/contentacms/contenta_jsonapi/issues/421
Task: https://github.com/contentacms/contenta_jsonapi/issues/421
Fix queries to adding check access it will be removed in Drupal 10
Notes