Minor changes
This commit is contained in:
@@ -278,6 +278,8 @@ app.include_router(
|
|||||||
origins = [
|
origins = [
|
||||||
'http://fastapi.localhost',
|
'http://fastapi.localhost',
|
||||||
'http://localhost',
|
'http://localhost',
|
||||||
|
'http://192.168.32.20:3000',
|
||||||
|
'http://192.168.32.20:8080',
|
||||||
'http://localhost:3000',
|
'http://localhost:3000',
|
||||||
'http://localhost:5000',
|
'http://localhost:5000',
|
||||||
'http://fastapi.localhost:5000',
|
'http://fastapi.localhost:5000',
|
||||||
|
|||||||
@@ -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_type: Optional[str] = Query(None, min_length=2, max_length=50),
|
||||||
for_obj_id: Optional[str] = Query(None, min_length=1, max_length=22),
|
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),
|
#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,
|
by_alias: Optional[bool] = True,
|
||||||
exclude_unset: Optional[bool] = True,
|
exclude_unset: Optional[bool] = True,
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user