Skip to content

Commit

Permalink
Remove unused terms and privacy endpoints (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Jan 22, 2025
1 parent 753fa24 commit b7ec0c5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions backend/src/appointment/routes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,17 +475,3 @@ def send_feedback(
details=form_data.details,
)
return True


@router.get('/privacy')
def privacy():
with open(f'{os.path.dirname(__file__)}/../templates/legal/en/privacy.jinja2') as fh:
contents = fh.read()
return HTMLResponse(contents)


@router.get('/terms')
def terms():
with open(f'{os.path.dirname(__file__)}/../templates/legal/en/terms.jinja2') as fh:
contents = fh.read()
return HTMLResponse(contents)

0 comments on commit b7ec0c5

Please sign in to comment.