Kapelianovych / couchdb_dart

A library for Dart developers for work with CouchDB
https://pub.dev/packages/couchdb
Other
47 stars 18 forks source link

Fixed bugs in copyDoc #12

Closed dominickj-tdi closed 5 years ago

dominickj-tdi commented 5 years ago

I fixed some bugs in the CouchDbClient.copy() method and the DocumentModel.copyDoc() method. There were a couple problems that kept it from working:

I also added a path parameter to the CouchDbClient constructor which will allow you to connect to couchdb via a reverse proxy on your server.

Kapelianovych commented 5 years ago

Thanks for your contribution!) I don't use COPY method yet and didn't make proxy on a server. So I appreciate your Pull Request.

dominickj-tdi commented 5 years ago

No problem, glad to help out!