From 46a2ebd50abc40a8a81a4ae6b4c48f0c678daadf Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Mon, 21 Jun 2010 13:15:59 -0400 Subject: support for cluster -> cluster replication --- src/chttpd_misc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index 6a3261c6..535932ae 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -105,7 +105,7 @@ handle_task_status_req(Req) -> handle_replicate_req(#httpd{method='POST'}=Req) -> PostBody = get(post_body), - try ?COUCH:replicate_db(PostBody, Req#httpd.user_ctx) of + try showroom_api:replicate_db(PostBody, Req#httpd.user_ctx) of {ok, {continuous, RepId}} -> send_json(Req, 202, {[{ok, true}, {<<"_local_id">>, RepId}]}); {ok, {JsonResults}} -> -- cgit v1.2.3