diff --git a/app/auth/jwthandler.py b/app/auth/jwthandler.py index 7e4a76f..42baf45 100644 --- a/app/auth/jwthandler.py +++ b/app/auth/jwthandler.py @@ -9,7 +9,7 @@ from sqlalchemy.ext.asyncio import AsyncSession from app.auth.schemas import TokenData -from app.dependecies import get_session +from app.dependencies import get_session from app.settings import settings from app.users.models import User from app.users.service import get_user_by_username diff --git a/app/auth/routers.py b/app/auth/routers.py index 99e5824..6ba430d 100644 --- a/app/auth/routers.py +++ b/app/auth/routers.py @@ -10,7 +10,7 @@ from app.auth.jwthandler import create_access_token from app.auth.service import validate_user -from app.dependecies import get_session +from app.dependencies import get_session from app.settings import settings from app.users.schemas import UserIn, UserOut from app.users.service import add_user, get_user_by_username diff --git a/app/books/routers.py b/app/books/routers.py index 2d3fae1..b85e95b 100644 --- a/app/books/routers.py +++ b/app/books/routers.py @@ -24,7 +24,7 @@ from app.books.utils import get_book_info from app.bookshelf.models import Bookshelf from app.bookshelf.service import get_bookshelf -from app.dependecies import get_session +from app.dependencies import get_session from app.users.schemas import UserOut books_router = APIRouter(prefix='/books', tags=['Books']) diff --git a/app/bookshelf/routers.py b/app/bookshelf/routers.py index f128da4..d49b8c9 100644 --- a/app/bookshelf/routers.py +++ b/app/bookshelf/routers.py @@ -15,7 +15,7 @@ remove_bookshelf, renew_bookshelf, ) -from app.dependecies import get_session +from app.dependencies import get_session from app.users.schemas import UserOut bookshelf_router = APIRouter(prefix='/bookshelf', tags=['Bookshelves']) diff --git a/app/dependecies.py b/app/dependencies.py similarity index 100% rename from app/dependecies.py rename to app/dependencies.py diff --git a/app/users/routers.py b/app/users/routers.py index 720b754..e55c3ad 100644 --- a/app/users/routers.py +++ b/app/users/routers.py @@ -7,7 +7,7 @@ from sqlalchemy.ext.asyncio import AsyncSession from app.auth.jwthandler import get_current_user -from app.dependecies import get_session +from app.dependencies import get_session from app.users.models import User from app.users.schemas import UserIn, UserOut, UserOutDb from app.users.service import get_all_users, get_user, remove_user, renew_user