Skip to content

Commit

Permalink
Allow snippetHighlighted to also be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Dec 8, 2024
1 parent efa23a8 commit 2af687d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/khoj/database/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class AnswerBox(PydanticBaseModel):
link: Optional[str] = None
snippet: Optional[str] = None
title: str
snippetHighlighted: List[str]
snippetHighlighted: Optional[List[str]] = None


class PeopleAlsoAsk(PydanticBaseModel):
Expand Down

0 comments on commit 2af687d

Please sign in to comment.