From 44bf264bc9045503216832dcc7261f885983df4c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 18 Oct 2018 19:29:33 +0200 Subject: [PATCH] =?utf8?q?Switch=20to=20Tr=C3=B8ndisk=202018=20sheets.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- carousel.js | 2 +- quickl3.js | 2 +- roster.js | 2 +- update_sheets.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/carousel.js b/carousel.js index e73a387..b62fc27 100644 --- a/carousel.js +++ b/carousel.js @@ -581,7 +581,7 @@ function get_group(group_name, cb) req.onload = function(e) { cb(JSON.parse(req.responseText), group_name); }; - req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1uh7kr5v_hyD072b1G2tbQlhqd_8ldS_6j30CBocQ-4E/values/\'' + group_name + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1ygfeR6njBUmLyuLRq7zfYW5slMWBGnj4XxzQQ4WJklU/values/\'' + group_name + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); req.send(); } diff --git a/quickl3.js b/quickl3.js index b8a49bf..bec001a 100644 --- a/quickl3.js +++ b/quickl3.js @@ -43,7 +43,7 @@ function load_l3(sheet, prefix, cb) } cb(l3s, sheet); }; - req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1VyLIS2GeohLlIRFs6c8kk6g0ZnBFXXiYNh_JROC-iZM/values/\'' + sheet + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/18pTqrwSoqrb9_M9HJkiijMBAPppuSnFDAYEezZTKh00/values/\'' + sheet + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); req.send(); }; diff --git a/roster.js b/roster.js index 3524189..6a152a4 100644 --- a/roster.js +++ b/roster.js @@ -33,7 +33,7 @@ function load_roster(sheet, cb) } cb(team_name, roster); }; - req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/1VyLIS2GeohLlIRFs6c8kk6g0ZnBFXXiYNh_JROC-iZM/values/\'' + sheet + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/18pTqrwSoqrb9_M9HJkiijMBAPppuSnFDAYEezZTKh00/values/\'' + sheet + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); req.send(); }; diff --git a/update_sheets.js b/update_sheets.js index 020742a..d9757b2 100644 --- a/update_sheets.js +++ b/update_sheets.js @@ -104,7 +104,7 @@ function publish_group_rank(group_name) "data": updates }; possibly_update_oauth_key(function() { - post_json('https://sheets.googleapis.com/v4/spreadsheets/1uh7kr5v_hyD072b1G2tbQlhqd_8ldS_6j30CBocQ-4E/values:batchUpdate?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU', json, function(response) {}, current_oauth_access_token); + post_json('https://sheets.googleapis.com/v4/spreadsheets/1ygfeR6njBUmLyuLRq7zfYW5slMWBGnj4XxzQQ4WJklU/values:batchUpdate?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU', json, function(response) {}, current_oauth_access_token); }); }); -- 2.39.2