Skip to content

Commit

Permalink
fix api response object
Browse files Browse the repository at this point in the history
  • Loading branch information
kwypchlo committed Jul 4, 2022
1 parent 1df6376 commit 1f16f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/disabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const { getDisabledServerReason } = require("../utils");
module.exports = (req, res) => {
const manualDisabledReason = db.get("disabled").value();

return getDisabledServerReason(manualDisabledReason);
res.send({ disabled: getDisabledServerReason(manualDisabledReason) });
};

0 comments on commit 1f16f21

Please sign in to comment.