Logging some more stuff
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
})
|
||||
const result: FormStatus = await req.json()
|
||||
formStatus = result
|
||||
console.log(await req.text())
|
||||
console.log(await req.json())
|
||||
|
||||
// If successful
|
||||
if (formStatus.success) {
|
||||
|
||||
@@ -26,6 +26,7 @@ export const POST = (async ({ request }) => {
|
||||
})
|
||||
})
|
||||
const res = await req.json()
|
||||
console.log('server:', res)
|
||||
|
||||
// Other error
|
||||
if (res && res.status !== 'PENDING') {
|
||||
|
||||
Reference in New Issue
Block a user