fix test news db
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
from fastapi import HTTPException
|
from fastapi import HTTPException
|
||||||
from app import db
|
from app.db.database import db
|
||||||
from bson import ObjectId
|
from bson import ObjectId
|
||||||
from app.models.news import NewsCreate, NewsUpdate, NewsInDB
|
from app.models.news import NewsCreate, NewsUpdate, NewsInDB
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user