Skip to content

Commit

Permalink
Fixed endpointduplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-holzner committed Oct 1, 2024
1 parent 405bb2b commit 8207a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/routers/meetings.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def read_meetings(skip: int = 0, limit: int = 100, db: Session = Depends(get_db)
meetings = get_meetings(db, skip=skip, limit=limit)
return meetings

@router.get("/meetings/{user_id}", response_model=List[schemas.MeetingStatusUser])
@router.get("/meetings/by_user/{user_id}", response_model=List[schemas.MeetingStatusUser])
def read_meetings_by_user(user_id: int, db: Session = Depends(get_db)):
status_meetings = []
meetings = get_meetings(db)
Expand Down

0 comments on commit 8207a05

Please sign in to comment.