mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-27 12:04:52 +02:00
Merge pull request #697 from OpenSignLabs/prafull-opensignlabs-patch-10
fix: something went wrong error in guest login when document created through Document API
This commit is contained in:
@@ -279,7 +279,7 @@ export default async function createDocumentwithCoordinate(request, response) {
|
|||||||
const objectId = contactMail[i].contactPtr.objectId;
|
const objectId = contactMail[i].contactPtr.objectId;
|
||||||
const hostUrl = baseUrl.origin;
|
const hostUrl = baseUrl.origin;
|
||||||
//encode this url value `${response.id}/${contactMail[i].email}/${objectId}` to base64 using `btoa` function
|
//encode this url value `${response.id}/${contactMail[i].email}/${objectId}` to base64 using `btoa` function
|
||||||
const encodeBase64 = btoa(`${response.id}/${contactMail[i].email}/${objectId}`);
|
const encodeBase64 = btoa(`${res.id}/${contactMail[i].email}/${objectId}`);
|
||||||
let signPdf = `${hostUrl}/login/${encodeBase64}`;
|
let signPdf = `${hostUrl}/login/${encodeBase64}`;
|
||||||
const openSignUrl = 'https://www.opensignlabs.com/contact-us';
|
const openSignUrl = 'https://www.opensignlabs.com/contact-us';
|
||||||
const orgName = parseExtUser.Company ? parseExtUser.Company : '';
|
const orgName = parseExtUser.Company ? parseExtUser.Company : '';
|
||||||
|
|||||||
Reference in New Issue
Block a user