fix: consolidate redundant double-query in get_one_play (#14) #52

Merged
cal merged 1 commits from ai/paper-dynasty-database#14 into next-release 2026-03-05 03:36:27 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
f1d289a0e9 fix: consolidate redundant double-query in get_one_play (#14)
Reuse the result of get_or_none instead of discarding it and calling
get_by_id again, eliminating one unnecessary round-trip per request.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 03:35:59 +00:00