Skip to content

Commit e50dd4a

Browse files
committed
fix: added cost_credit in cost http response
1 parent 8c5266b commit e50dd4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aleph/schemas/api/costs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ class EstimatedCostDetailResponse(BaseModel):
1212
name: str
1313
cost_hold: str
1414
cost_stream: str
15+
cost_credit: str
1516

16-
@field_validator("cost_hold", "cost_stream", mode="before")
17+
@field_validator("cost_hold", "cost_stream", "cost_credit", mode="before")
1718
def check_format_price(cls, v):
1819
return format_cost_str(v)
1920

0 commit comments

Comments
 (0)