Kshitijk20 commited on
Commit
18fce40
·
1 Parent(s): 26c75ce

fix router prefix

Browse files
Files changed (1) hide show
  1. app/api/v1/endpoints/schema.py +1 -1
app/api/v1/endpoints/schema.py CHANGED
@@ -46,7 +46,7 @@ async def get_schema():
46
  detail="An error occurred while fetching the schema."
47
  )
48
 
49
- @router.post("schema/indexing")
50
  async def update_indexing(request: TableIndexingRequest):
51
  if not sql_agent.db:
52
  raise HTTPException(
 
46
  detail="An error occurred while fetching the schema."
47
  )
48
 
49
+ @router.post("/schema/indexing")
50
  async def update_indexing(request: TableIndexingRequest):
51
  if not sql_agent.db:
52
  raise HTTPException(