summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/http_api.md2
-rw-r--r--src/node/db/API.js2
2 files changed, 2 insertions, 2 deletions
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: