Skip to content

Commit

Permalink
chore: 탐지결과 저장 API URL 수정
Browse files Browse the repository at this point in the history
info -> infos로 URL 수정 요청
  • Loading branch information
sukkyun2 authored Jun 29, 2024
1 parent dc83422 commit aefb8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def summary_detections():
async def save_history(req: HistorySaveRequest):
try:
async with httpx.AsyncClient() as client:
await client.post(f"{settings.history_api}/info", data=req.dict())
await client.post(f"{settings.history_api}/infos", data=req.dict())
except httpx.RequestError as exc:
print(str(exc))

0 comments on commit aefb8b7

Please sign in to comment.