Skip to content

Commit

Permalink
fix: schema mismatch issue while saving preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
prafull-opensignlabs committed Nov 18, 2024
1 parent 7c6a03a commit d8095e0
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 d8095e0

Please sign in to comment.