changed navff API to get
This commit is contained in:
parent
7ac9240440
commit
689ea57bbe
2
main.py
2
main.py
@ -92,7 +92,7 @@ async def update_nav(data: list[dict]):
|
|||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
|
|
||||||
@app.post('/update-navff', dependencies=[Depends(authenticate)])
|
@app.get('/update-navff', dependencies=[Depends(authenticate)])
|
||||||
async def update_nav_ff():
|
async def update_nav_ff():
|
||||||
conn = connect_db()
|
conn = connect_db()
|
||||||
update_query = """
|
update_query = """
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user