👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-09-01 09:22:41 +02:00
parent a5d7ae22c5
commit d2f6bd7e42
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ class App {
if (token === undefined || token === '') {
return ResponseHelper.jwtAuthAuthorizationError(res, "Missing token");
}
if (jwtHeaderValuePrefix != '' && token.startsWith(jwtHeaderValuePrefix)) {
if (jwtHeaderValuePrefix !== '' && token.startsWith(jwtHeaderValuePrefix)) {
token = token.replace(jwtHeaderValuePrefix + ' ', '').trimLeft();
}