From 92e383b29a18e618b96f4e397c7929905e15b394 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Fri, 15 Apr 2022 16:27:30 +0200 Subject: [PATCH] feat(api): changed default value for source search --- api/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/schemas.py b/api/schemas.py index a0eec022b..f1daef481 100644 --- a/api/schemas.py +++ b/api/schemas.py @@ -588,7 +588,7 @@ class SessionSearchFilterSchema(__MixedSearchFilter): Optional[List[Union[IssueType, PlatformType, int, str]]]] = Field(...) type: FilterType = Field(...) operator: Union[SearchEventOperator, MathOperator] = Field(...) - source: Optional[Union[ErrorSource, str]] = Field(default=ErrorSource.js_exception) + source: Optional[Union[ErrorSource, str]] = Field(default=None) @root_validator def filter_validator(cls, values):