mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-17 14:51:55 +00:00
Revert "Add an API endpoint for GETing server version"
This reverts commit b0d3d1edde.
This commit is contained in:
parent
b0d3d1edde
commit
e740692ea8
2 changed files with 0 additions and 10 deletions
|
|
@ -159,15 +159,6 @@ class MiscController {
|
|||
res.json(downloads)
|
||||
}
|
||||
|
||||
// GET: api/version
|
||||
async getServerVersion(req, res) {
|
||||
var version = {
|
||||
serverVersion: this.db.serverSettings.version
|
||||
}
|
||||
|
||||
return res.json(version)
|
||||
}
|
||||
|
||||
// PATCH: api/settings (admin)
|
||||
async updateServerSettings(req, res) {
|
||||
if (!req.user.isAdminOrUp) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue