diff options
-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}} -> |