Skip to content

Commit

Permalink
fix(chalice): fixed get chart with missing attributes in the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
tahayk committed Jul 8, 2024
1 parent da751c6 commit f11aa09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/schemas/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def __enforce_default(cls, values):
if values.get("filter") is None and values.get("startTimestamp") and values.get("endTimestamp"):
values["filter"] = PathAnalysisSchema(startTimestamp=values["startTimestamp"],
endTimestamp=values["endTimestamp"],
density=values["density"])
density=values.get("density", 4))
return values


Expand Down

0 comments on commit f11aa09

Please sign in to comment.