Skip to content

Commit b05e4de

Browse files
committed
Fix import paths in healthcheck and libraries routes
1 parent 64ec225 commit b05e4de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/routers/healthcheck/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from fastapi import APIRouter, status
1+
from fastapi import APIRouter, Request, status
22
from pydantic import BaseModel
33

44
from app.services.limiter import limiter
@@ -20,7 +20,7 @@ def setup():
2020
description="Returns the health status of the API",
2121
)
2222
@limiter.limit("60/minute")
23-
async def healthcheck():
23+
async def healthcheck(request: Request):
2424
"""
2525
Health check endpoint that returns the current status of the API.
2626
"""

app/routers/libraries/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
from fastapi import APIRouter, Header, HTTPException, Request, status
44
from fastapi.params import Depends
55
from pydantic import BaseModel
6-
from routers.authentication import get_current_active_community
7-
from services.database.models.communities import Community as DBCommunity
86

7+
from app.routers.authentication import get_current_active_community
98
from app.schemas import Library as LibrarySchema
109
from app.schemas import LibraryNews
1110
from app.schemas import LibraryRequest as LibraryRequestSchema
1211
from app.schemas import Subscription as SubscriptionSchema
1312
from app.services.database.models import Library, Subscription
13+
from app.services.database.models.communities import Community as DBCommunity
1414
from app.services.database.models.libraries_request import LibraryRequest
1515
from app.services.database.orm.library import (
1616
get_libraries_by_language,

0 commit comments

Comments
 (0)