mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 17:35:05 +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