Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Fixed ability to use database.all_docs() method when using API key auth #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janakmayer
Copy link

Since .all_docs() previously did not pass self.opts in kwargs, using this method when using API key authorization resulted in an authorization error. There is undoubtedly a better, more universal way to fix this problem (as for instance _make_request() does in the base Resource class for all standard HTTP verb requests), but for the moment this works, and is consistent with the treatment in database.document().

@janakmayer janakmayer mentioned this pull request Mar 19, 2015
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 97.06% when pulling 1f81002 on janakmayer:master into e26dcff on cloudant-labs:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants