Skip to content

Commit

Permalink
Fix scheduleservice paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbagel committed Dec 19, 2024
1 parent 488a556 commit c6d711c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions backend/app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# we need to load env variables before initialization code runs
from . import models # noqa: E402
from .routes import user # noqa: E402
from .routes import user, schedule # noqa: E402
from .utilities.firebase_init import initialize_firebase # noqa: E402

log = logging.getLogger("uvicorn")
Expand All @@ -22,7 +22,6 @@ async def lifespan(_: FastAPI):
log.info("Starting up...")
# models.run_migrations()
initialize_firebase()
initialize_firebase()
yield
log.info("Shutting down...")

Expand Down
2 changes: 1 addition & 1 deletion backend/app/services/implementations/schedule_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from app.models import Schedule, TimeBlock
# from app.schemas.schedule import UserCreate, UserInDB, UserRole
# from app.schemas.time_block import UserCreate, UserInDB, UserRole
from app.services.interfaces.schedule_service import IScheduleService
from app.interfaces.schedule_service import IScheduleService
from app.schemas.schedule import (
ScheduleState,
ScheduleCreate,
Expand Down

0 comments on commit c6d711c

Please sign in to comment.