Skip to content

Commit d648359

Browse files
Merge pull request #86 from couchbase-examples/update-sync-function-capella
Updated the signature of the sync function
2 parents ca61302 + 2b870e8 commit d648359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capella/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function sync(doc, oldDoc) {
1+
function (doc, oldDoc, meta) {
22

33
/* Data Validation */
44
validateNotEmpty("documentType", doc.documentType); // <1>

0 commit comments

Comments
 (0)