server: smart_params now stored in redis
This commit is contained in:
@@ -403,7 +403,7 @@ async def set_smart_params(p: SimpleScanParameters, token: str = Depends(oauth2_
|
||||
token_data = auth.parse_token(token)
|
||||
logger.debug(f"{token_data.session} Try to set smart params: {p}")
|
||||
auth.check_jwt_rw(cfg, auth.parse_token(token))
|
||||
daq.smart_params = p
|
||||
cfg.auto_params = p
|
||||
return "OK"
|
||||
|
||||
@app.post("/scan/cancel")
|
||||
|
||||
Reference in New Issue
Block a user