mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Merge pull request #1703 from mechanical-turk/master
[fix] give default value to unset
This commit is contained in:
commit
65282fbb6c
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export const newMutation = ({ collection, document, currentUser, validate, conte
|
|||
return newDocument;
|
||||
}
|
||||
|
||||
export const editMutation = ({ collection, documentId, set, unset, currentUser, validate, context }) => {
|
||||
export const editMutation = ({ collection, documentId, set, unset = {}, currentUser, validate, context }) => {
|
||||
|
||||
// console.log("// editMutation")
|
||||
// console.log(collection._name)
|
||||
|
|
Loading…
Add table
Reference in a new issue