diff --git a/bbs/api/queries/users.py b/bbs/api/queries/users.py index 1ba0a07..3ec31f8 100644 --- a/bbs/api/queries/users.py +++ b/bbs/api/queries/users.py @@ -1,3 +1,5 @@ +from typing import List + import strawberry import strawberry_django from django.contrib.auth.models import User as DjangoUser @@ -8,7 +10,7 @@ from bbs.api.types.users import User @strawberry.type class UsersQueries: - all_users: list[User] = strawberry_django.field() + all_users: List[User] = strawberry_django.field() @strawberry.field def user(self, user_id: ID) -> User: