summaryrefslogtreecommitdiff
path: root/src/home/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/api')
-rw-r--r--src/home/api/web_api_client.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/home/api/web_api_client.py b/src/home/api/web_api_client.py
index ca9a9ee..6677182 100644
--- a/src/home/api/web_api_client.py
+++ b/src/home/api/web_api_client.py
@@ -66,9 +66,11 @@ class WebAPIClient:
})
def log_openwrt(self,
- lines: List[Tuple[int, str]]):
+ lines: List[Tuple[int, str]],
+ access_point: int):
return self._post('log/openwrt/', {
- 'logs': stringify(lines)
+ 'logs': stringify(lines),
+ 'ap': access_point
})
def get_sensors_data(self,