tests and fix up sloppy code by original author

This commit is contained in:
John McLear 2015-04-01 13:52:56 +01:00
parent c705a058fb
commit 32a09ff461
3 changed files with 120 additions and 7 deletions

View file

@ -438,13 +438,13 @@ var version =
, "getChatHistory" : ["padID"]
, "getChatHistory" : ["padID", "start", "end"]
, "getChatHead" : ["padID"]
, "appendChatMessage" : ["padID", "text", "userID", "time"]
, "appendChatMessage" : ["padID", "text", "authorID", "time"]
, "restoreRevision" : ["padID", "rev"]
}
};
// set the latest available API version here
exports.latestApiVersion = '1.2.11';
exports.latestApiVersion = '1.2.12';
// exports the versions so it can be used by the new Swagger endpoint
exports.version = version;