Skip to content

Commit

Permalink
Remove unused session dependency in upload endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Microwave-WYB committed May 16, 2024
1 parent b51e382 commit dba5bb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion phone_sensors/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def health_check() -> str:
@app.post("/upload")
async def upload(
*,
session: Session = Depends(get_db_session),
redis_conn: Redis = Depends(get_redis_connection),
sensor_id: UUID = Form(...),
timestamp: datetime.datetime = Form(...),
Expand Down

0 comments on commit dba5bb5

Please sign in to comment.