Skip to content

Conversation

@thisunravisara
Copy link
Contributor

No description provided.

// If no matching document exists, insert the new document
this.storage.insert( doc );
}
this.storage.findAndUpdate({ id: doc.id }, d => Object.assign( d, doc ))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line seems not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants