mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
qoc, todo, document detail page
This commit is contained in:
@ -6,6 +6,7 @@ import { useSession } from "next-auth/react";
|
||||
import { buffer } from "stream/consumers";
|
||||
|
||||
async function postHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
// todo move token validation to import
|
||||
const token = await getToken({ req });
|
||||
const tokenEmail = token?.email?.toString();
|
||||
if (!token) {
|
||||
|
||||
Reference in New Issue
Block a user