Skip to content

Commit

Permalink
fix: patch with missing update
Browse files Browse the repository at this point in the history
  • Loading branch information
rombat committed Feb 13, 2024
1 parent 0ad6576 commit 96d9920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/docs/lib/services/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ module.exports.patchDocument = async (resource, filter, data, state, user) => {
return {
id: filter._id,
state,
data: updateDoc.value.states[state].data
data: updateDoc.states[state].data
};
};

Expand Down

0 comments on commit 96d9920

Please sign in to comment.