We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8f3d6 commit 3b4754bCopy full SHA for 3b4754b
AutomaticClockOuts/clock_out.js
@@ -28,7 +28,7 @@ const doClockOut = async (context, timer) => {
28
context.log(`I am going to clock out ${JSON.stringify(timeEntryAsJson)}`);
29
timeEntryAsJson.end_date = timeEntry.getTimeToClockOut()
30
console.log(`I am doing it for you ${JSON.stringify(findUser(users, timeEntry.owner_id))}`)
31
- axios.post('https://hooks.slack.com/services/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',
+ axios.post(process.env["SLACK_WEBHOOK"],
32
{"text": `I am doing it for you ${JSON.stringify(findUser(users, timeEntry.owner_id))}`}
33
)
34
.then(function (response) {
0 commit comments