diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 61daeaa3..b9b5fedb 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -414,7 +414,7 @@ sends a custom message of type `msg` to the pad #### checkToken() * API >= 1.2 -returns ok when api token is valid +returns ok when the current api token is valid *Example returns:* * `{"code":0,"message":"ok","data":null}` diff --git a/src/node/db/API.js b/src/node/db/API.js index ea58d859..a26055a7 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -549,7 +549,7 @@ exports.sendClientsMessage = function (padID, msg, callback) { } /** -checkToken() returns ok when api token is valid +checkToken() returns ok when the current api token is valid Example returns: