diff --git a/src/node/db/API.js b/src/node/db/API.js index 4979e8c6..18ed1d0c 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -548,6 +548,18 @@ exports.sendClientsMessage = function (padID, msg, callback) { } ); } +/** +checkToken() returns ok when api token is valid + +Example returns: + +{code: 0, message:"ok"} +*/ +exports.checkToken = function(padID, callback) +{ + callback() +} + /******************************/ /** INTERNAL HELPER FUNCTIONS */