[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-20 16:04:51 +00:00 committed by GitHub
parent 32c2b912e6
commit 0645d0ad10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 19 deletions

View File

@ -34,8 +34,8 @@ class GoogleSheets extends NotificationProvider {
// Send data to Google Apps Script webhook
const config = this.getAxiosConfigWithProxy({
headers: {
"Content-Type": "application/json"
}
"Content-Type": "application/json",
},
});
const data = {
@ -45,7 +45,7 @@ class GoogleSheets extends NotificationProvider {
monitorUrl,
message: msg,
responseTime,
statusCode
statusCode,
};
await axios.post(notification.googleSheetsWebhookUrl, data, config);

View File

@ -13,9 +13,9 @@
</div>
</div>
<div class="alert alert-info" style="border-radius: 8px;">
<h6 style="margin-bottom: 12px; font-weight: 600;">{{ $t("Quick Setup Guide") }}:</h6>
<ol style="margin-bottom: 0; padding-left: 20px; line-height: 1.8;">
<div class="alert alert-info" style="border-radius: 8px">
<h6 style="margin-bottom: 12px; font-weight: 600">{{ $t("Quick Setup Guide") }}:</h6>
<ol style="margin-bottom: 0; padding-left: 20px; line-height: 1.8">
<li>{{ $t("Open your Google Spreadsheet") }}</li>
<li>{{ $t("Go to Extensions → Apps Script") }}</li>
<li>{{ $t("Paste the script code (see below)") }}</li>
@ -27,18 +27,14 @@
<ToggleSection :heading="$t('Google Apps Script Code')">
<div class="mb-3">
<textarea
readonly
class="form-control"
rows="15"
style="font-family: monospace; font-size: 12px;"
<textarea
readonly
class="form-control"
rows="15"
style="font-family: monospace; font-size: 12px"
:value="scriptCode"
/>
<button
type="button"
class="btn btn-outline-secondary btn-sm mt-2"
@click="copyScript"
>
<button type="button" class="btn btn-outline-secondary btn-sm mt-2" @click="copyScript">
{{ $t("Copy to Clipboard") }}
</button>
</div>
@ -82,7 +78,7 @@ export default {
computed: {
scriptCode() {
return GOOGLE_APPS_SCRIPT_CODE;
}
},
},
methods: {
copyScript() {
@ -92,7 +88,7 @@ export default {
} catch (error) {
alert(this.$t("Failed to copy to clipboard"));
}
}
}
},
},
};
</script>