couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [1/5] couch commit: updated refs/heads/master to 5f9cf9f
Date Wed, 25 May 2016 17:39:34 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master be1dedb8e -> 5f9cf9f74


get_user_creds can receive nil as first arg


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/628a0f4b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/628a0f4b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/628a0f4b

Branch: refs/heads/master
Commit: 628a0f4b179703fe42191caebc2052327162267e
Parents: be1dedb
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue May 24 17:33:16 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue May 24 17:33:16 2016 -0700

----------------------------------------------------------------------
 src/couch_auth_cache.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/628a0f4b/src/couch_auth_cache.erl
----------------------------------------------------------------------
diff --git a/src/couch_auth_cache.erl b/src/couch_auth_cache.erl
index 5893744..32d706d 100644
--- a/src/couch_auth_cache.erl
+++ b/src/couch_auth_cache.erl
@@ -49,7 +49,7 @@
 get_user_creds(UserName) ->
     get_user_creds(nil, UserName).
 
--spec get_user_creds(Req::#httpd{}, UserName::string() | binary()) ->
+-spec get_user_creds(Req::#httpd{} | nil, UserName::string() | binary()) ->
     {ok, Credentials::list(), term()} | nil.
 
 get_user_creds(Req, UserName) when is_list(UserName) ->


Mime
View raw message