Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
fix: healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Apr 22, 2022
1 parent 5bcf738 commit 42e34cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/tipimail-quotas/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const isValid = (req) => {
module.exports = async (req, res) => {
if (!isValid(req)) {
const data = "nothing here";
return send(res, 404, data);
return send(res, 200, data);
}
const accounts = JSON.parse(process.env.TIPIMAIL_ACCOUNTS || "[]");
return getAccountsCredits(accounts);
Expand Down

0 comments on commit 42e34cc

Please sign in to comment.