]> git.sesse.net Git - ultimatescore/blobdiff - update_sheets.js
Fix syntax error.
[ultimatescore] / update_sheets.js
index 3ee6c8f60c766e80c0ff1977bb8586a76b33b129..a656c89286f944211048ef070daf8ecb07fe7366 100644 (file)
@@ -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);
                });
        });