Skip to content

Commit 2994d7f

Browse files
fixed params
1 parent 127a8b4 commit 2994d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/send.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function sendattachmenttoslack(data::String, user_endpoint::String)
3131
HTTP.setuseragent!("HTTP.jl")
3232

3333

34-
params = Dict("$(data)")
34+
params = Dict("attachments"=>"$(data)")
3535
base_url = "https://hooks.slack.com"
3636

3737
endpoint = user_endpoint

0 commit comments

Comments
 (0)