The export end-point of the replica server must conform to the new API structure.

This commit is contained in:
Kishore Nallan 2018-01-04 20:56:12 +05:30
parent 70a6147f5b
commit 6596e5d8dd

View File

@ -51,7 +51,7 @@ void replica_server_routes() {
// document management
server->get("/collections/:collection/documents/search", get_search);
server->get("/collections/:collection/documents/:id", get_fetch_document);
server->get("/collections/:collection/export", get_collection_export, true);
server->get("/collections/:collection/documents/export", get_collection_export, true);
// replication
server->get("/replication/updates", get_replication_updates, true);