Closed pasin closed 8 years ago
cc @tleyden @sethrosetter
@adamcfraser I fixed the sync function per your comment. Please review when you have time. Thanks!
@pasin A minor point - I might change the thrown error message when owner != doc.owner from "no permission to modify the doc." to "Cannot change owner for lists", so it's more transparent what the error actually is (for end users, and for people using this sync function as a reference).
Otherwise it looks good to me.
Yes, I changed the message per your suggestion. Thanks!
I think we are good here so I'm merging this myself now.
54 and https://github.com/couchbase/sync_gateway/issues/1484#issuecomment-172695912