Skip to content

Commit eb23b68

Browse files
committed
adjusted for new field name in OCS ex_app_get_info
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
1 parent afe6e18 commit eb23b68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nc_py_api/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ExAppInfo(TypedDict):
1616
name: str
1717
version: str
1818
enabled: bool
19-
last_response_time: int
19+
last_check_time: int
2020
system: bool
2121

2222

tests/apps_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ def test_ex_app_get_info(nc):
6969
assert isinstance(nc_py_api["name"], str)
7070
assert isinstance(nc_py_api["version"], str)
7171
assert nc_py_api["enabled"]
72-
assert isinstance(nc_py_api["last_response_time"], int)
72+
assert isinstance(nc_py_api["last_check_time"], int)
7373
assert nc_py_api["system"]

0 commit comments

Comments
 (0)