mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 19:16:54 -04:00
Update src/node/hooks/express/apicalls.js
This commit is contained in:
parent
4d65c41dfb
commit
65f1b9c6aa
1 changed files with 1 additions and 1 deletions
|
@ -60,6 +60,6 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
|||
|
||||
//Provide a possibility to query the latest available API version
|
||||
args.app.get('/api', function (req, res) {
|
||||
res.json({"latestApiVersion" : apiHandler.latestApiVersion});
|
||||
res.json({"currentVersion" : apiHandler.latestApiVersion});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue