🔨」 fix: fixed this shit

This commit is contained in:
2025-10-16 13:28:07 +02:00
parent 2cafd7afac
commit 627197f8f3

View File

@ -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: {