request bug fix

This commit is contained in:
2025-04-13 05:26:13 -04:00
parent f30ab236c7
commit 761e636d07

View File

@@ -59,9 +59,9 @@ function Mobile() {
} }
const formData = new FormData(); const formData = new FormData();
formData.append("friendCode", friendCode); formData.append("friendCode", session?.id);
fetch(`/api/user/${session?.id}`, { fetch(`/api/user/${friendCode}`, {
method: "POST", method: "POST",
body: formData, body: formData,
}) })