auth/ is now an independent package

This commit is contained in:
2026-05-19 22:31:30 +08:00
parent 623fac8749
commit af5f7b38f8
9 changed files with 204 additions and 6 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ from fastapi import FastAPI, Depends, HTTPException
from strawberry import Schema
from strawberry.fastapi import GraphQLRouter
from app.auth import router as auth_router, get_user_by_id, get_current_user
from auth import router as auth_router, get_user_by_id, get_current_user
from app.db import engine, SessionLocal
from app.models import Base, User
from app.utils.format import get_image_url