scores 主键改用 UUID v7
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -102,7 +102,7 @@ def list_scores(
|
||||
|
||||
|
||||
@app.get("/api/v1/scores/{score_id}")
|
||||
def get_score(score_id: int):
|
||||
def get_score(score_id: str):
|
||||
conn = storage._get_conn()
|
||||
try:
|
||||
with conn.cursor() as cur:
|
||||
|
||||
Reference in New Issue
Block a user