This commit is contained in:
parent
d9415a9b37
commit
2cb7353e6a
|
|
@ -408,7 +408,7 @@ export function DetailPageHeader({ data }: { data: any }) {
|
|||
const res = await fetch(endpoint, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ user_name: userName, id: id }),
|
||||
body: JSON.stringify({ user_name: userName, n_id: id }),
|
||||
});
|
||||
|
||||
const json = await res.json();
|
||||
|
|
|
|||
Loading…
Reference in New Issue