Fix: Document title changes are not reflected when the document is sent to signers.

Merge pull request #1498 from nxglabs/staging
This commit is contained in:
prafull-opensignlabs
2025-11-20 06:44:56 +00:00
parent ca1b87309f
commit 803d25e9d1
50 changed files with 20869 additions and 3403 deletions
@@ -11,6 +11,7 @@ export const deleteUserOtp = async (req, res) => {
const extUserQuery = new Parse.Query('contracts_Users');
extUserQuery.equalTo('UserId', { __type: 'Pointer', className: '_User', objectId: userId });
extUserQuery.include('TenantId');
const extUser = await extUserQuery.first({ useMasterKey: true });
if (!extUser) return res.status(404).json({ error: 'User not found' });
@@ -18,6 +18,7 @@ export function generateOtp(len = OTP_LENGTH) {
}
export async function sendDeleteOtpEmail(extUser, otp) {
const _extUser = extUser && JSON.parse(JSON.stringify(extUser));
const params = {
extUserId: extUser.id,
from: appName,