-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch unauthenticated check #90
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #90 +/- ##
==========================================
- Coverage 87.14% 87.13% -0.02%
==========================================
Files 8 8
Lines 817 816 -1
==========================================
- Hits 712 711 -1
Misses 105 105
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Needs rebase. |
d50746f
to
98a209c
Compare
* | ||
* @returns {Promise<object>} Returns an object with the db and admin. | ||
*/ | ||
async function _getUnauthenticatedDb({config}) { | ||
async function _getUnauthenticatedDb({options}) { | ||
// only use the config stuff with out auth credentials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is not correct any more, right? And is this the right thing to do since this is supposed to be an authenticated DB connection?
This further cleans up code in
authn.js
, but is untested with major projects.This is not a priority patch and can wait. It is more style and a minor bug fix.