Skip to content

Commit

Permalink
Fix typos in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
diesieben07 committed Dec 17, 2024
1 parent 3f81116 commit 8783f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry_django/fields/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def qs_hook(qs: models.QuerySet): # type: ignore
def qs_hook(qs: models.QuerySet):
qs = self.get_queryset(qs, info, **kwargs)
# Don't use qs.get() if the queryset is optimized by prefetching.
# Calling first in that case would disregard the prefetched results, because first implicitly
# Calling get in that case would disregard the prefetched results, because get implicitly
# adds a limit to the query
if is_optimized_by_prefetching(qs):
# mimic behavior of get()
Expand Down

0 comments on commit 8783f5b

Please sign in to comment.