🐛 Fix value passing issue
This commit is contained in:
		@@ -123,7 +123,7 @@ async function submit() {
 | 
				
			|||||||
  const res = await request("/api/users", {
 | 
					  const res = await request("/api/users", {
 | 
				
			||||||
    method: "POST",
 | 
					    method: "POST",
 | 
				
			||||||
    headers: { "Content-Type": "application/json" },
 | 
					    headers: { "Content-Type": "application/json" },
 | 
				
			||||||
    body: JSON.stringify(data),
 | 
					    body: JSON.stringify(payload),
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
  if (res.status !== 200) {
 | 
					  if (res.status !== 200) {
 | 
				
			||||||
    error.value = await res.text()
 | 
					    error.value = await res.text()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user