X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=update_sheets.js;h=a656c89286f944211048ef070daf8ecb07fe7366;hb=693747756e9731f299c69c7374adc61c0d71450f;hp=3ee6c8f60c766e80c0ff1977bb8586a76b33b129;hpb=c396868fd38cc06d4aed4a787b98e6d9c39ccb00;p=ultimatescore diff --git a/update_sheets.js b/update_sheets.js index 3ee6c8f..a656c89 100644 --- a/update_sheets.js +++ b/update_sheets.js @@ -360,7 +360,9 @@ function fill_playoff(replacements, teams) { "requests": meta_updates }; possibly_update_oauth_key(function() { - post_json('https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['score_sheet_id'] + '/values:batchUpdate?key=' + ultimateconfig['api_key'], json, function(response) {}, current_oauth_access_token); + post_json('https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['score_sheet_id'] + '/values:batchUpdate?key=' + ultimateconfig['api_key'], json, function(response) { + get_group('Playoffs 9th-13th', function(response_l) { publish_group_rank(response_l, 'Playoffs 9th-13th'); }); + }, current_oauth_access_token); post_json('https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['score_sheet_id'] + ':batchUpdate?key=' + ultimateconfig['api_key'], meta_json, function(response) {}, current_oauth_access_token); }); });