Skip to content

Commit 705a7ec

Browse files
committed
Removed console logs + added repository in package.json
1 parent 4498246 commit 705a7ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
9-
"author": "OAuth.io",
9+
"author": "OAuth.io team",
1010
"license": "Apache-2.0",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/oauth-io/oauthio-server-node"
14+
},
1115
"devDependencies": {
1216
"grunt": "^0.4.5",
1317
"grunt-contrib-coffee": "^0.12.0",

src/client-management/index.coffee

-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ module.exports = (env) ->
4343
body = JSON.parse body
4444
catch e
4545
defer.reject e
46-
console.log err, resp.statusCode, body
4746
if resp.statusCode == 200 and not err?
4847
defer.resolve body.data
4948
else
@@ -88,7 +87,6 @@ module.exports = (env) ->
8887
# client.client_id
8988
# client.client_secret
9089
update: (client) ->
91-
console.log client
9290
defer = Q.defer()
9391
options = {
9492
rejectUnauthorized: not env.config.debug

src/oauth2/index.coffee

-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ module.exports = (env) ->
3232
authorizationp: env.auth_header
3333
}
3434
}, (err, resp, body) ->
35-
console.log 'CAUGHT', err, body
3635
try
3736
body = JSON.parse body
3837
client = body.data
@@ -87,7 +86,6 @@ module.exports = (env) ->
8786
}
8887
request options, (err, resp, body) ->
8988
date = new Date().getTime()
90-
console.log 'TIMEME', date - start_date
9189
res.status(200)
9290
res.send(body)
9391

0 commit comments

Comments
 (0)