File tree Expand file tree Collapse file tree 2 files changed +15
-19
lines changed
server/notification-providers
src/components/notifications Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ class GoogleSheets extends NotificationProvider {
3434 // Send data to Google Apps Script webhook
3535 const config = this . getAxiosConfigWithProxy ( {
3636 headers : {
37- "Content-Type" : "application/json"
38- }
37+ "Content-Type" : "application/json" ,
38+ } ,
3939 } ) ;
4040
4141 const data = {
@@ -45,7 +45,7 @@ class GoogleSheets extends NotificationProvider {
4545 monitorUrl,
4646 message : msg ,
4747 responseTime,
48- statusCode
48+ statusCode,
4949 } ;
5050
5151 await axios . post ( notification . googleSheetsWebhookUrl , data , config ) ;
Original file line number Diff line number Diff line change 1313 </div >
1414 </div >
1515
16- <div class =" alert alert-info" style =" border-radius : 8px ; " >
17- <h6 style =" margin-bottom : 12px ; font-weight : 600 ; " >{{ $t("Quick Setup Guide") }}:</h6 >
18- <ol style =" margin-bottom : 0 ; padding-left : 20px ; line-height : 1.8 ; " >
16+ <div class =" alert alert-info" style =" border-radius : 8px " >
17+ <h6 style =" margin-bottom : 12px ; font-weight : 600 " >{{ $t("Quick Setup Guide") }}:</h6 >
18+ <ol style =" margin-bottom : 0 ; padding-left : 20px ; line-height : 1.8 " >
1919 <li >{{ $t("Open your Google Spreadsheet") }}</li >
2020 <li >{{ $t("Go to Extensions → Apps Script") }}</li >
2121 <li >{{ $t("Paste the script code (see below)") }}</li >
2727
2828 <ToggleSection :heading =" $t('Google Apps Script Code')" >
2929 <div class =" mb-3" >
30- <textarea
31- readonly
32- class =" form-control"
33- rows =" 15"
34- style =" font-family : monospace ; font-size : 12px ; "
30+ <textarea
31+ readonly
32+ class =" form-control"
33+ rows =" 15"
34+ style =" font-family : monospace ; font-size : 12px "
3535 :value =" scriptCode"
3636 />
37- <button
38- type =" button"
39- class =" btn btn-outline-secondary btn-sm mt-2"
40- @click =" copyScript"
41- >
37+ <button type =" button" class =" btn btn-outline-secondary btn-sm mt-2" @click =" copyScript" >
4238 {{ $t("Copy to Clipboard") }}
4339 </button >
4440 </div >
@@ -82,7 +78,7 @@ export default {
8278 computed: {
8379 scriptCode () {
8480 return GOOGLE_APPS_SCRIPT_CODE ;
85- }
81+ },
8682 },
8783 methods: {
8884 copyScript () {
@@ -92,7 +88,7 @@ export default {
9288 } catch (error) {
9389 alert (this .$t (" Failed to copy to clipboard" ));
9490 }
95- }
96- }
91+ },
92+ },
9793};
9894 </script >
You can’t perform that action at this time.
0 commit comments