Skip to content
Snippets Groups Projects
Commit c4d52464 authored by Aymeric Chaumont's avatar Aymeric Chaumont
Browse files

linting

parent 0b178d7d
Branches
No related tags found
2 merge requests!30Restaurants route,!28improve front
...@@ -22,6 +22,7 @@ async def stats(place: str, db: Session = Depends(get_db)): ...@@ -22,6 +22,7 @@ async def stats(place: str, db: Session = Depends(get_db)):
async def stats(place: str, db: Session = Depends(get_db)): async def stats(place: str, db: Session = Depends(get_db)):
return crud.get_current_graph(place, db) return crud.get_current_graph(place, db)
@router.get('/{place}/opening_hours', response_model=List[schemas.OpeningHours]) @router.get('/{place}/opening_hours', response_model=List[schemas.OpeningHours])
async def get_opening_hours(place: str, db: Session = Depends(get_db)): async def get_opening_hours(place: str, db: Session = Depends(get_db)):
return crud.get_opening_hours(place, db) return crud.get_opening_hours(place, db)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment