Skip to content

Commit

Permalink
Rename query name to plural getMealRequestsByRequestorId
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhpark committed Oct 31, 2023
1 parent 3b0da35 commit 588cb0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/graphql/meal_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class MealRequestResponse(graphene.ObjectType):

# Queries
class MealRequestQueries(QueryList):
getMealRequestByRequestorId = graphene.List(
getMealRequestsByRequestorId = graphene.List(
MealRequestResponse,
requestor_id=graphene.ID(required=True),
min_drop_off_date=graphene.Date(default_value=None),
Expand All @@ -127,7 +127,7 @@ class MealRequestQueries(QueryList):
sort_by_date_direction=SortDirection(default_value=SortDirection.ASCENDING),
)

def resolve_getMealRequestByRequestorId(
def resolve_getMealRequestsByRequestorId(
self,
info,
requestor_id,
Expand Down

0 comments on commit 588cb0d

Please sign in to comment.