Skip to content

Commit

Permalink
Add typing
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 16, 2023
1 parent 31361fe commit 03a4c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_user_proofs(
return crud.get_user_proofs(db, user=current_user)


@app.get("/locations/{location_id}")
@app.get("/locations/{location_id}", response_model=schemas.LocationBase)
async def get_location(location_id: int, db: Session = Depends(get_db)):
db_location = crud.get_location_by_id(db, id=location_id)
if not db_location:
Expand Down

0 comments on commit 03a4c8c

Please sign in to comment.