「🔨」 fix: fixed this shit

This commit is contained in:
KeyZox committed 2025-10-16 13:28:07 +02:00
1 parent 2cafd7afac
commit 627197f8f3
1 file changed
+2 -2
+2 -2
View File
@@ -10,10 +10,10 @@ export async function authUserCreate(username, fastify) {
}; };
const cookie = fastify.jwt.sign({ user: "admin" }); 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( await axios.post(
url + "users/" + username, url + "/users/" + username,
payload, payload,
{ {
headers: { headers: {