File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/components/file_system_interface Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 32
32
dist /
33
33
node_modules /
34
34
aws-exports.js
35
- awsconfiguration.json
35
+ awsconfiguration.json
36
+
37
+ # secret Api keys, Webhook URLs etc
38
+ slackApiStuff.js
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ import fs from 'fs-extra'
16
16
const { remote } = require (' electron' )
17
17
const Mousetrap = require (' mousetrap' )
18
18
19
+ import slackApiStuff from ' ../../../secretStuff/slackApiStuff.js'
20
+ const slackWebhookURL = slackApiStuff .slackWebhookURL
21
+
19
22
export default {
20
23
name: ' SaveProjetComponent' ,
21
24
methods: {
@@ -124,7 +127,7 @@ export default {
124
127
},
125
128
response => {
126
129
if (response === 1 ) {
127
- fetch (' https://hooks.slack.com/services/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 ' , {
130
+ fetch (slackWebhookURL , {
128
131
method: ' POST' ,
129
132
body: JSON .stringify ({ ' text' : ' A team member saved an OverVue project file!' }),
130
133
headers: { ' Content-Type' : ' application/json' }
You can’t perform that action at this time.
0 commit comments