🔨」 fix: fixed this shit

This commit is contained in:
2025-10-16 13:28:43 +02:00
parent d1838e7722
commit 169386a97c

View File

@ -5,7 +5,7 @@ import axios from 'axios'
* @param {import('fastify').FastifyInstance} fastify
*/
export async function authUserRemove(username, fastify) {
const url = ((process.env.USER_URL + "/") || "http://localhost:3002/") + "users/" + username;
const url = (process.env.USER_URL || "http://localhost:3002") + "/users/" + username;
const cookie = fastify.jwt.sign({ user: "admin" });
await axios.post(