From 114c381e4dcdcf88533817c11fe4e1b920340634 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 28 Jan 2020 10:33:32 +0100 Subject: [PATCH] fix typo in docs --- libnymea-core/jsonrpc/systemhandler.cpp | 2 +- tests/auto/api.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libnymea-core/jsonrpc/systemhandler.cpp b/libnymea-core/jsonrpc/systemhandler.cpp index 653769cf..eda6312a 100644 --- a/libnymea-core/jsonrpc/systemhandler.cpp +++ b/libnymea-core/jsonrpc/systemhandler.cpp @@ -122,7 +122,7 @@ SystemHandler::SystemHandler(Platform *platform, QObject *parent): registerMethod("EnableRepository", description, params, returns); params.clear(); returns.clear(); - description = "Get the system time and configuraton. The \"serverTime\" and \"serverTimezone\" properties " + description = "Get the system time and configuraton. The \"time\" and \"timeZone\" properties " "give the current server time and time zone. \"automaticTimeAvailable\" indicates whether " "this system supports automatically setting the clock (e.g. using NTP). \"automaticTime\" will " "be true if the system is configured to automatically update the clock."; diff --git a/tests/auto/api.json b/tests/auto/api.json index 10b6c3ec..91edb27b 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1283,7 +1283,7 @@ } }, "System.GetTime": { - "description": "Get the system time and configuraton. The \"serverTime\" and \"serverTimezone\" properties give the current server time and time zone. \"automaticTimeAvailable\" indicates whether this system supports automatically setting the clock (e.g. using NTP). \"automaticTime\" will be true if the system is configured to automatically update the clock.", + "description": "Get the system time and configuraton. The \"time\" and \"timeZone\" properties give the current server time and time zone. \"automaticTimeAvailable\" indicates whether this system supports automatically setting the clock (e.g. using NTP). \"automaticTime\" will be true if the system is configured to automatically update the clock.", "params": { }, "returns": {