implemented postgres support in repositories
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"""Authentication router for login and user management."""
|
||||
|
||||
import secrets
|
||||
from fastapi import APIRouter, HTTPException, Depends, Header
|
||||
from typing import Annotated
|
||||
from fastapi import APIRouter, HTTPException, Depends, Header
|
||||
from pydantic import BaseModel
|
||||
|
||||
from baby_monitor.models.auth import (
|
||||
@@ -29,7 +29,7 @@ from baby_monitor.repositories.interfaces import (
|
||||
DiaperChangeRepositoryInterface,
|
||||
SleepRepositoryInterface,
|
||||
)
|
||||
from baby_monitor.utils.password import hash_password, verify_password
|
||||
from baby_monitor.utils import hash_password, verify_password
|
||||
|
||||
router = APIRouter(prefix="/api", tags=["authentication"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user