Skip to content

Commit 3a08ec9

Browse files
author
extreme4all
committed
bf/predictions-breakdown
1 parent 24c27b7 commit 3a08ec9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/v1/prediction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def get_account_prediction_result(name: str, breakdown: Optional[bool] = F
8585
"prediction_label": prediction.pop("prediction_label"),
8686
"prediction_confidence": prediction.pop("prediction_confidence"),
8787
"created": prediction.pop("created"),
88-
"predictions_breakdown": prediction
88+
"predictions_breakdown": prediction.pop("predictions_breakdown")
8989
if breakdown or prediction != "Stats_Too_Low"
9090
else None,
9191
}

0 commit comments

Comments
 (0)