summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2019-06-20 10:41:30 -0300
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-06-20 09:28:23 -0500
commitcc2d64d9d2d0610f5d72c4c8046882c0db6a1ee2 (patch)
treed68448a2ab4564c8a4c1a41a8a26dbc3588f5630
parent21af513ce4c67caa77f12e650a3d3462fbf42948 (diff)
downloadcouchdb-cc2d64d9d2d0610f5d72c4c8046882c0db6a1ee2.tar.gz
Update get security to use fabric2
-rw-r--r--src/chttpd/src/chttpd_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index 4337041f1..c0ac1caa3 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/src/chttpd_db.erl
@@ -734,7 +734,7 @@ db_req(#httpd{method = 'PUT',path_parts = [_, <<"_security">>]} = Req, Db) ->
end;
db_req(#httpd{method='GET',path_parts=[_,<<"_security">>]}=Req, Db) ->
- send_json(Req, fabric:get_security(Db));
+ send_json(Req, fabric2_db:get_security(Db));
db_req(#httpd{path_parts=[_,<<"_security">>]}=Req, _Db) ->
send_method_not_allowed(Req, "PUT,GET");