Skip to content
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

Small Bug fixes and Refactors to extend functionality #7

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
20 changes: 10 additions & 10 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accounts-base@2.2.3
accounts-base@2.2.4
accounts-password@2.3.1
allow-deny@1.1.1
babel-compiler@7.9.0
Expand All @@ -12,10 +12,10 @@ check@1.3.1
coffeescript@1.0.17
dburles:mongo-collection-instances@0.1.3
ddp@1.4.0
ddp-client@2.5.0
ddp-client@2.6.0
ddp-common@1.4.0
ddp-rate-limiter@1.1.0
ddp-server@2.5.0
ddp-server@2.6.0
diff-sequence@1.1.1
dynamic-import@0.7.2
ecmascript@0.16.2
Expand All @@ -30,26 +30,25 @@ http@1.4.4
id-map@1.1.1
inter-process-messaging@0.1.1
jkuester:http@2.1.0
leaonline:oauth2-server@4.2.1
lmieulet:meteor-coverage@3.2.0
lmieulet:meteor-legacy-coverage@0.1.0
lmieulet:meteor-packages-coverage@0.1.0
local-test:leaonline:oauth2-server@4.2.1
local-test:tmgrawv:oauth2-server@4.2.3
localstorage@1.2.0
logging@1.3.1
meteor@1.10.0
meteor@1.10.1
meteortesting:browser-tests@1.3.5
meteortesting:mocha@2.0.3
meteortesting:mocha-core@8.0.1
minimongo@1.8.0
minimongo@1.9.0
modern-browsers@0.1.8
modules@0.18.0
modules@0.19.0
modules-runtime@0.13.0
mongo@1.15.0
mongo@1.16.0
mongo-decimal@0.1.3
mongo-dev-server@1.1.0
mongo-id@1.0.8
npm-mongo@4.3.1
npm-mongo@4.9.0
ordered-dict@1.1.0
practicalmeteor:chai@1.9.2_3
promise@0.12.0
Expand All @@ -63,6 +62,7 @@ routepolicy@1.1.1
service-configuration@1.3.0
sha@1.0.9
socket-stream-client@0.5.0
tmgrawv:oauth2-server@4.2.3
tracker@1.2.0
underscore@1.0.10
url@1.3.2
Expand Down
2 changes: 1 addition & 1 deletion lib/middleware/getDebugMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { debug } from '../utils/console'
export const getDebugMiddleWare = instance => (req, res, next) => {
if (instance.debug === true) {
const baseUrl = req.originalUrl.split('?')[0]
debug(req.method, baseUrl, req.query || req.body)
debug(req.method, baseUrl, { query: req.query, body: req.body })
}
return next()
}
2 changes: 1 addition & 1 deletion lib/model/DefaultModelConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Default collection names for the model collections.
* @type {{accessTokensCollectionName: string, refreshTokensCollectionName: string, clientsCollectionName: string, authCodesCollectionName: string, debug: boolean}}
*/
*/
export const DefaultModelConfig = {
accessTokensCollectionName: 'oauth_access_tokens',
refreshTokensCollectionName: 'oauth_refresh_tokens',
Expand Down