diff --git a/src/routes/dashboard.js b/src/routes/dashboard.js index 30d3bf4..b523b62 100644 --- a/src/routes/dashboard.js +++ b/src/routes/dashboard.js @@ -317,9 +317,9 @@ export const dashboardRoutes = (fastify, _, done) => { if (env.CERTS_URL) { const resp = await fetch(`http://${env.CERTS_URL}/provision`, { method: "POST", - body: { + body: JSON.stringify({ domain: req.body.domain - } + }) }); console.log(await resp.text());