Skip to content

Commit

Permalink
Merge pull request #1470 from OpenSignLabs/uncompatible_pdf
Browse files Browse the repository at this point in the history
fix: schema mismatch issue while saving preferences
  • Loading branch information
prafull-opensignlabs authored Nov 18, 2024
2 parents c8fae00 + d8095e0 commit 5f77368
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/OpenSign/src/pages/Preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ const Preferences = () => {
params = { ...params, SignatureType: signatureType };
}
}
params = { ...params, NotifyOnSignatures: isNotifyOnSignatures };
if (isNotifyOnSignatures) {
params = { ...params, NotifyOnSignatures: isNotifyOnSignatures };
}
try {
const updateRes = await Parse.Cloud.run("updatepreferences", params);
if (updateRes) {
Expand Down

0 comments on commit 5f77368

Please sign in to comment.