We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c98e3a2 + aa827e7 commit 501c353Copy full SHA for 501c353
pages/api/views-dataroom.ts
@@ -186,11 +186,13 @@ export default async function handle(
186
187
let dataroomSession: DataroomSession | null = null;
188
if (!isPreview) {
189
- dataroomSession = await verifyDataroomSession(req, linkId, dataroomId);
+ dataroomSession = await verifyDataroomSession(
190
+ req,
191
+ linkId,
192
+ link.dataroomId!,
193
+ );
194
}
195
- console.log("dataroomSession", dataroomSession);
-
196
let isEmailVerified: boolean = false;
197
let hashedVerificationToken: string | null = null;
198
// If there is no session, then we need to check if the link is protected and enforce the checks
0 commit comments