X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=roster.js;h=638b37337f2e238db604048642fb19355500c319;hb=19c3289f1aa2a338f16efca9bb608e85a430a417;hp=6a152a41853de2b956686cebc3d5723baccb4683;hpb=44bf264bc9045503216832dcc7261f885983df4c;p=ultimatescore diff --git a/roster.js b/roster.js index 6a152a4..638b373 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/18pTqrwSoqrb9_M9HJkiijMBAPppuSnFDAYEezZTKh00/values/\'' + sheet + '\'!A1:J50?key=AIzaSyAuP9yQn8g0bSay6r_RpGtpFeIbwprH1TU'); + req.open('GET', 'https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['roster_sheet_id'] + '/values/\'' + sheet + '\'!A1:J50?key=' + ultimateconfig['api_key']); req.send(); };