Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/api/endpoints/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class ManualCheckResponse(BaseModel):
stamps_topped_up: int = Field(..., description="Number of stamps topped up")
stamps_synced: int = Field(0, description="Number of existing stamps synced to pool")
errors: List[str] = Field(default_factory=list, description="Errors encountered")
topup_debug: Optional[List[Dict]] = Field(None, description="Debug info for topup decisions")


# === Helper Functions ===
Expand Down Expand Up @@ -332,5 +333,6 @@ async def trigger_pool_check():
stamps_purchased=result.get("stamps_purchased", 0),
stamps_topped_up=result.get("stamps_topped_up", 0),
stamps_synced=result.get("stamps_synced", 0),
errors=result.get("errors", [])
errors=result.get("errors", []),
topup_debug=result.get("topup_debug"),
)
Loading