app/src/services/uber.js
Function authorize
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
authorize: (options) => {
//Build the OAuth consent page URL
let authWindow = new BrowserWindow({
minWidth: 600,
minHeight: 835,
Function getAccessToken
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let getAccessToken = (code) => {
let data = {
grant_type: 'authorization_code',
client_id: options.client_id,
client_secret: options.client_secret,