forked from engineering/cloudservices
Fix CI
parent
e6b1818222
commit
1b9d3c56f1
|
@ -29,7 +29,8 @@
|
|||
"uuid": "^3.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.2",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express-serve-static-core": "^4.17.5",
|
||||
"@types/fs-extra": "^8.0.0",
|
||||
"@types/helmet": "^0.0.45",
|
||||
"@types/ioredis": "^4.0.18",
|
||||
|
|
|
@ -70,7 +70,7 @@ export default class Security {
|
|||
return req.headers.authorization.split(' ')[1];
|
||||
}
|
||||
if (req.query && req.query.token) {
|
||||
return req.query.token;
|
||||
return req.query.token as string;
|
||||
}
|
||||
return '0000000000';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue