summaryrefslogtreecommitdiffstats
path: root/server/api/backendtypes.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/api/backendtypes.js')
-rw-r--r--server/api/backendtypes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/api/backendtypes.js b/server/api/backendtypes.js
index 8e2665e..ef371d8 100644
--- a/server/api/backendtypes.js
+++ b/server/api/backendtypes.js
@@ -30,7 +30,7 @@ router.get('/:type', (req, res) => {
const b = new ExternalBackends()
const instance = b.getInstance(backendType)
if (instance === null) {
- res.status(500).send({ auth: false, status: 'TYPE_INVALID', error_message: 'The provided backend type is invalid.' })
+ res.status(500).send({ error: 'TYPE_INVALID', message: 'The provided backend type is invalid.' })
}
res.status(200).send(instance.getCredentials())
})