You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ei...@apache.org on 2019/06/20 14:18:19 UTC

[couchdb] 01/03: Update get security to use fabric2

This is an automated email from the ASF dual-hosted git repository.

eiri pushed a commit to branch prototype/auth-cache-fixes
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 7a2835f41d9df875ff9c7397e824f5761371636c
Author: Eric Avdey <ei...@eiri.ca>
AuthorDate: Thu Jun 20 10:41:30 2019 -0300

    Update get security to use fabric2
---
 src/chttpd/src/chttpd_db.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index 4337041..c0ac1ca 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");