Skip to content

Commit

Permalink
chore: added query params
Browse files Browse the repository at this point in the history
  • Loading branch information
Nifilat committed Aug 24, 2024
1 parent c1fe3b9 commit b03099f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/services/faq.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create(self, db: Session, schema: CreateFAQ):

return new_faq

def fetch_all_grouped_by_category(self, db: Session):
def fetch_all_grouped_by_category(self, db: Session, **query_params: Optional[Any]):
"""Fetch all FAQs grouped by category"""
query = db.query(FAQ.category, FAQ.question, FAQ.answer)

Expand Down

0 comments on commit b03099f

Please sign in to comment.