- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
671 B
Markdown
13 lines
671 B
Markdown
---
|
|
id: e5c0460c-9730-4a1d-a77f-b42293fef14f
|
|
type: solution
|
|
title: "Draft pick API parsing fix"
|
|
tags: [major-domo, python, fix, api, discord-bot]
|
|
importance: 0.6
|
|
confidence: 0.8
|
|
created: "2025-12-10T21:34:01.319287+00:00"
|
|
updated: "2025-12-10T21:34:01.319287+00:00"
|
|
---
|
|
|
|
Fixed 'Pick Not Found' error in /draft-admin set-pick. Two issues: (1) DraftPickService needed _extract_items_and_count_from_response() override because API returns 'picks' key not 'draftpicks', (2) DraftPick model needed custom from_api_data() to map API fields (origowner/owner/player) to model fields (origowner_id/owner_id/player_id). Also added timer status display to set-pick success message.
|