Skip to content

Commit

Permalink
fix: fix authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
MARCO MANCO s281564 committed Jun 12, 2021
1 parent c08ca37 commit 6d34055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qlkube/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ async function main() {
return { token };
} else {
if (
(req.headers.authorization && req.headers.Authorization.length > 0) ||
(req.headers.authorization && req.headers.Authorization.length > 0)
(req.headers.authorization && req.headers.authorization.length > 0) ||
(req.headers.Authorization && req.headers.Authorization.length > 0)
) {
const strs = req.headers.authorization.split(' ');
var user = {};
Expand Down

0 comments on commit 6d34055

Please sign in to comment.