Skip to content

Commit

Permalink
remove auth
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Jul 16, 2024
1 parent 6c2312d commit ec07f09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from backend.config.auth import (
get_auth_strategy_endpoints,
is_authentication_enabled,
verify_migrate_token,
)
from backend.config.routers import ROUTER_DEPENDENCIES
from backend.routers.agent import router as agent_router
Expand Down Expand Up @@ -99,7 +98,7 @@ async def health():
return {"status": "OK"}


@app.post("/migrate", dependencies=[Depends(verify_migrate_token)])
@app.post("/migrate")
async def apply_migrations():
"""
Applies Alembic migrations - useful for serverless applications
Expand Down

0 comments on commit ec07f09

Please sign in to comment.