🐛 Fix issue with api endpoints caused by new integration format

This commit is contained in:
Meierschlumpf
2022-12-11 19:33:54 +01:00
parent ed64d138c5
commit 53a86e2bbc
7 changed files with 42 additions and 40 deletions

View File

@@ -11,8 +11,6 @@ async function Get(req: NextApiRequest, res: NextApiResponse) {
timeout: 1,
});
console.log(response);
// Return 200 if the alive property is true
if (response.alive) {
return res.status(200).end();