Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit b36f68d

Browse files
author
Sachin Maheshwari
committed
auth lib changes
1 parent fd6e73c commit b36f68d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181
"superagent-promise": "^1.1.0",
8282
"typescript": "~2.3.3",
8383
"uuid": "^3.3.2",
84-
"winston": "^2.3.1"
84+
"winston": "^2.3.1",
85+
"@topcoder-platform/tc-auth-lib": "git+https://github.com/topcoder-platform/tc-auth-lib.git#1.0.0"
8586
},
8687
"devDependencies": {
8788
"angular-mocks": "~1.4.4",
@@ -143,8 +144,7 @@
143144
"uglify-save-license": "~0.4.1",
144145
"vinyl-buffer": "1.0.0",
145146
"vinyl-source-stream": "1.1.0",
146-
"wiredep": "~4.0.0",
147-
"tc-auth-lib": "git+https://github.com/topcoder-platform/tc-auth-lib.git#dev"
147+
"wiredep": "~4.0.0"
148148
},
149149
"nodemonConfig": {
150150
"ignore": [

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const express = require('express');
1515
const bodyParser = require('body-parser');
1616
const session = require('express-session');
1717
const cookieParser = require('cookie-parser');
18-
const decodeToken = require('tc-auth-lib').decodeToken;
18+
const decodeToken = require('@topcoder-platform/tc-auth-lib').decodeToken;
1919
// const secure = require('ssl-express-www');
2020
const config = require('./config');
2121
const routes = require('./routes');

0 commit comments

Comments
 (0)