Fix code styles
This commit is contained in:
parent
0bb3e53d58
commit
efb188c9c1
1 changed files with 212 additions and 213 deletions
|
@ -1161,8 +1161,7 @@ function buildImportFromGoogleDrive() {
|
||||||
var accessToken = gapi.auth.getToken().access_token;
|
var accessToken = gapi.auth.getToken().access_token;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
beforeSend: function (request)
|
beforeSend: function (request) {
|
||||||
{
|
|
||||||
request.setRequestHeader('Authorization', 'Bearer ' + accessToken);
|
request.setRequestHeader('Authorization', 'Bearer ' + accessToken);
|
||||||
},
|
},
|
||||||
url: file.downloadUrl,
|
url: file.downloadUrl,
|
||||||
|
|
Loading…
Add table
Reference in a new issue