fix in u
This commit is contained in:
@@ -95,7 +95,8 @@ def poller_settings_get():
|
||||
if error:
|
||||
return error
|
||||
pid = int(profile["id"])
|
||||
return ok({"settings": poller_control.get_settings(pid), "runtime": poller_control.snapshot(pid)})
|
||||
settings = poller_control.get_settings(pid)
|
||||
return ok({"settings": settings, "runtime": poller_control.snapshot(pid, settings)})
|
||||
|
||||
|
||||
@bp.post("/poller/settings")
|
||||
|
||||
Reference in New Issue
Block a user