diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-10 22:26:42 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 11:18:49 -0400 |
commit | c459a41601da688ef54664d645c9280ca5aa7a69 (patch) | |
tree | 7e7787dd7180049c0e1b9d944ec0384ff078f07d | |
parent | 25b9b2d936c07162b904b923e3308b56207888d7 (diff) |
showroom_api disappeared, use showroom_rep for now
-rw-r--r-- | src/chttpd_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index 0482947b..3fd5e919 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -109,7 +109,7 @@ handle_task_status_req(Req) -> handle_replicate_req(#httpd{method='POST'}=Req) -> PostBody = get(post_body), - try showroom_api:replicate_db(PostBody, Req#httpd.user_ctx) of + try showroom_rep:replicate(PostBody, Req#httpd.user_ctx) of {ok, {continuous, RepId}} -> send_json(Req, 202, {[{ok, true}, {<<"_local_id">>, RepId}]}); {ok, {JsonResults}} -> |