TanStackT
TanStack4mo ago
1 reply
exclusive-coral

Proper way return responses from request middleware

    if (!signature) {
      throw new Response('Missing signature', { status: 400 })
    }



is this the conventional way to return a response from request middleware? it doesnt mention in the docs
Was this page helpful?