mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: fixed this shit
This commit is contained in:
@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user