Ver a proveniência

ble-ai api route protected by oauth2

errorlogbug
Lorenzo Pollutri há 1 mês
ascendente
cometimento
973e087489
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      app.py

+ 1
- 1
app.py Ver ficheiro

@@ -192,7 +192,7 @@ async def get_documentation():
return get_swagger_ui_html(openapi_url="/openapi.json", title="docs")


@app.get("/ble-ai/infer", tags=["BLE-AI"])
@app.get("/ble-ai/infer", tags=["BLE-AI"], dependencies=[Depends(get_current_user)])
async def get_ble_ai_infer(mac: Optional[List[str]] = Query(default=None)):
path = config_env.BLE_AI_INFER_CSV
if not os.path.isfile(path):


Carregando…
Cancelar
Guardar