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-07-31 11:55:30 -0500
commitd16cb1490e9f8aaefafebeb282103879a6d0230c (patch)
tree314a6855c9ea9f9c0259b865eb11f45bb38654b9
parent393168509281b5b0c558833c8e5b194053fa002c (diff)
downloadcouchdb-d16cb1490e9f8aaefafebeb282103879a6d0230c.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");