Add POST endpoint for food
This commit is contained in:
parent
a8e2bdf6de
commit
060c29f91a
@ -1,6 +1,6 @@
|
|||||||
# Entity: Food
|
# Entity: Food
|
||||||
|
|
||||||
from fastapi import APIRouter, Depends, status
|
from fastapi import APIRouter, Depends, HTTPException, status
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
from typing import List
|
from typing import List
|
||||||
from core.database import get_db
|
from core.database import get_db
|
||||||
|
Loading…
x
Reference in New Issue
Block a user