Skip to content

Commit

Permalink
Adding logging to update function
Browse files Browse the repository at this point in the history
  • Loading branch information
LDiazN committed Jan 17, 2025
1 parent dc48d33 commit c5a05ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ class ProbeUpdateResponse(BaseModel):

@router.put("/update", tags=["ooniprobe"])
def probe_update_post(probe_update : ProbeUpdate) -> ProbeUpdateResponse:
log.info("update successful")
return ProbeUpdateResponse(status="ok")

0 comments on commit c5a05ea

Please sign in to comment.