Minor changes

This commit is contained in:
Scott Idem
2021-05-20 17:49:44 -04:00
parent c94b2fb2e7
commit ec48bdc3d8
2 changed files with 3 additions and 1 deletions

View File

@@ -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',

View File

@@ -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,
):