Skip to content

Commit

Permalink
fix(fortnite): adding required params to slack
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ Savage committed Sep 5, 2020
1 parent b49565a commit 205fb83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fortnite/fn-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ spec:
import "strings"
import "influxdata/influxdb/secrets"
webhook = secrets.get(key: "SLACK_WEBHOOK")
sendSlackMessage = (text) =>
(slack.message(
url: webhook,
token: "",
token: "",
username: "",
workspace: "",
iconEmoji: "",
channel: "",
text: text,
color: "good",
Expand Down

1 comment on commit 205fb83

@abalone23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those params are not in the slack.message() function:
https://github.com/influxdata/flux/blob/master/stdlib/slack/slack.flux#L10-L35

This results in an "found unexpected argument" error.
DAR

Please sign in to comment.