Fix: ki_health_reports INSERT user_id ergänzt, SW updatefound Race Fix (SW by-v805)
This commit is contained in:
parent
ab851d4bb1
commit
5f1a6d578b
4 changed files with 5 additions and 5 deletions
|
|
@ -456,8 +456,8 @@ async def ki_zusammenfassung(dog_id: int, user=Depends(get_current_user)):
|
|||
)
|
||||
with db() as conn:
|
||||
conn.execute(
|
||||
"INSERT INTO ki_health_reports (dog_id, bericht) VALUES (?,?)",
|
||||
(dog_id, result)
|
||||
"INSERT INTO ki_health_reports (dog_id, user_id, bericht) VALUES (?,?,?)",
|
||||
(dog_id, user["id"], result)
|
||||
)
|
||||
return {"zusammenfassung": result}
|
||||
except KIPremiumRequired as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue