Skip to content

Commit

Permalink
removed unused endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
serikovlearning committed May 5, 2024
1 parent afbeed0 commit 9c3f6fe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions backend/routers/shelter_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
router = APIRouter(tags=["shelter"], prefix="/shelter")


@router.get("/check")
async def check_auth(request: Request, response: Response):
async with request.app.state.db.get_master_session() as session:
await ShelterService(session).check_is_auth_active(request)
return BaseOkResponse()


@router.post("/auth")
async def auth(request: Request, body: BaseShelterSchema, response: Response):
async with request.app.state.db.get_master_session() as session:
Expand Down

0 comments on commit 9c3f6fe

Please sign in to comment.