From: Steinar H. Gunderson Date: Sun, 5 Nov 2023 15:34:20 +0000 (+0100) Subject: Slightly more consistent timing logging. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=df679976b6424580402757ced26fcb80838c21a9;p=skvidarsync Slightly more consistent timing logging. --- diff --git a/bin/sync.pl b/bin/sync.pl index 4d49816..af7d50e 100644 --- a/bin/sync.pl +++ b/bin/sync.pl @@ -251,7 +251,7 @@ sub get_spreadsheet_with_title { my $response = $ua->get('https://sheets.googleapis.com/v4/spreadsheets/' . $config::sheet_id . '?key=' . $config::gsheets_api_key . '&fields=sheets/properties', Authorization => 'Bearer ' . $token ); - log_timing($start, '/v4/spreadsheets/properties'); + log_timing($start, '/spreadsheets/properties'); my $sheets_json = JSON::XS::decode_json($response->decoded_content); my ($tab_name, $tab_id); for my $sheet (@{$sheets_json->{'sheets'}}) {