diff --git a/app/main.py b/app/main.py index af68af9..6bd5208 100644 --- a/app/main.py +++ b/app/main.py @@ -278,6 +278,8 @@ app.include_router( origins = [ 'http://fastapi.localhost', 'http://localhost', + 'http://192.168.32.20:3000', + 'http://192.168.32.20:8080', 'http://localhost:3000', 'http://localhost:5000', 'http://fastapi.localhost:5000', diff --git a/app/routers/journal_entry.py b/app/routers/journal_entry.py index a97d340..f1f18a9 100644 --- a/app/routers/journal_entry.py +++ b/app/routers/journal_entry.py @@ -73,7 +73,7 @@ async def get_journal_entry_obj_li( for_obj_type: Optional[str] = Query(None, min_length=2, max_length=50), for_obj_id: Optional[str] = Query(None, min_length=1, max_length=22), #prod_type: Optional[str] = Query(None, min_length=2, max_length=50), - #x_account_id: str = Header(...), + x_account_id: str = Header(...), by_alias: Optional[bool] = True, exclude_unset: Optional[bool] = True, ):