satisfy project lint rules

This commit is contained in:
AlexVangelov
2017-09-15 20:52:55 -04:00
parent 9b1a6141df
commit 4172e33e04
2 changed files with 19 additions and 19 deletions

View File

@@ -64,8 +64,8 @@ export default function authorize ( { auth, authActions, errActions, configs, au
}
}
let authorizationUrl = schema.get("authorizationUrl");
let url = [authorizationUrl, query.join("&")].join(authorizationUrl.indexOf('?') === -1 ? "?" : "&")
let authorizationUrl = schema.get("authorizationUrl")
let url = [authorizationUrl, query.join("&")].join(authorizationUrl.indexOf("?") === -1 ? "?" : "&")
// pass action authorizeOauth2 and authentication data through window
// to authorize with oauth2