Unbekannte Benutzer führen zu einem Fehler mit tracking id statt einer fehlermeldung #247 #249

Merged
edraft merged 5 commits from #247 into 1.0.0 2023-03-11 01:17:15 +01:00
Showing only changes of commit 33279b7053 - Show all commits

View File

@ -63,7 +63,7 @@ class QueryABC(ObjectType):
return self._resolve_collection(collection, *args, **kwargs)
self.set_field(f"{name}s", wrapper)
self.set_field(f"{name}Count", lambda *args: get_collection(*args).count())
self.set_field(f"{name}Count", lambda *args: wrapper(*args).count())
@ServiceProviderABC.inject
def _can_user_see_element(self, user: AuthUser, element, services: ServiceProviderABC) -> bool: