From 159770e793ffe5a07307db8057b83d9c75cb313d Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Sun, 2 Jun 2024 10:30:56 +0200 Subject: [PATCH] maybe?? --- src/routes/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());