diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-25 14:13:06 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-25 14:13:06 -0400 |
| commit | 1c12d378d66b92b1674acd17640f2bac752da289 (patch) | |
| tree | bc8a1ef5047be1ed2400f2204a0222a840375851 /bot/src/api/server.js | |
| parent | ad768e2b25b58d62a44aa2daeb1429a651d488e5 (diff) | |
| download | AleeBot-1c12d378d66b92b1674acd17640f2bac752da289.tar.gz AleeBot-1c12d378d66b92b1674acd17640f2bac752da289.tar.bz2 AleeBot-1c12d378d66b92b1674acd17640f2bac752da289.zip | |
Converted public dashboard to admin dashboard; Made API have a consistent output message
Diffstat (limited to 'bot/src/api/server.js')
| -rw-r--r-- | bot/src/api/server.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/api/server.js b/bot/src/api/server.js index 9ad2026..0a06523 100644 --- a/bot/src/api/server.js +++ b/bot/src/api/server.js @@ -21,8 +21,8 @@ export const apiServer = (client) => { app.get('/api/version', (req, res) => { const { version } = JSON.parse(readFileSync('./package.json', 'utf-8')); res.json({ - api_version: '1.0', - ab_version: version + ab_version: version, + api_version: '1.1' }); }); |
