Skip to content

Commit ed9e8a5

Browse files
authored
Fix: Solve EstimatedCostDetail response error. (#772)
1 parent 9466fee commit ed9e8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/schemas/api/costs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class EstimatedCostDetailResponse(BaseModel):
1313
cost_hold: str
1414
cost_stream: str
1515

16-
@field_validator("cost_hold", "cost_stream")
16+
@field_validator("cost_hold", "cost_stream", mode="before")
1717
def check_format_price(cls, v):
1818
return format_cost_str(v)
1919

0 commit comments

Comments
 (0)