From 627197f8f3ca5a5d0e09f9064ad45b9059594a5a Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 16 Oct 2025 13:28:07 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20this=20shit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/authUserCreate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/authUserCreate.js b/src/utils/authUserCreate.js index 1ee3d38..e8a6771 100644 --- a/src/utils/authUserCreate.js +++ b/src/utils/authUserCreate.js @@ -10,10 +10,10 @@ export async function authUserCreate(username, fastify) { }; const cookie = fastify.jwt.sign({ user: "admin" }); - const url = process.env.USER_URL + "/" || "http://localhost:3002/" + const url = process.env.USER_URL || "http://localhost:3002" await axios.post( - url + "users/" + username, + url + "/users/" + username, payload, { headers: {