diff --git a/src/routes/integrations.js b/src/routes/integrations.js index f1381a7..056a45e 100644 --- a/src/routes/integrations.js +++ b/src/routes/integrations.js @@ -185,6 +185,7 @@ export async function integrationRoutes(app) { if (!gqlRes.ok) throw new Error(`GraphQL request failed (${gqlRes.status})`) } catch (e) { errors.push(`GraphQL: ${e.message}`) } if (errors.length) throw new Error(errors.join(' | ')) + return { ok: true, message: 'SQL + GraphQL connected' } } else return reply.status(400).send({ error: `No test available for ${req.params.slug}` }) return { ok: true }