public/client.js
//Make call request to get Access Code
Make call request to get Access Code
Make call request to get Access Code
function createAuth() {
    showAuthWindow({
        path: "https://app.clickup.com/api?client_id=" + client_id + "&redirect_uri=127.0.0.1/loading.html",
        callback: function (data) {
            token = data.substring(data.indexOf('=') + 1);
            codeVal.innerHTML = token;
            test.style.display = "block";
        }
    });
}
function createAuth ( ) { showAuthWindow ( { path : "https://app.clickup.com/api?client_id=" + client_id + "&redirect_uri=127.0.0.1/loading.html" , callback : function ( data ) { token = data . substring ( data . indexOf ( '=' ) + 1 ) ; codeVal . innerHTML = token ; test . style . display = "block" ; } } ) ; }
Make call request to get Access Code
Make call request to get Access Code