projects
/
gitolite-hooks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc30162
)
Fix syntax errors
master
author
Neil Muller
<drnlmuller@gmail.com>
Mon, 1 Feb 2021 13:46:09 +0000
(15:46 +0200)
committer
Neil Muller
<drnlmuller@gmail.com>
Mon, 1 Feb 2021 13:46:09 +0000
(15:46 +0200)
discord
patch
|
blob
|
history
diff --git
a/discord
b/discord
index a59986946349ba0b9a34ed089576c3dce4f6a5ef..729d48705d83e47640562b359f616428197048ed 100755
(executable)
--- a/
discord
+++ b/
discord
@@
-216,9
+216,9
@@
function notify_discord() {
exit 1
fi
exit 1
fi
- webhook_url="$webook_url/slack"
+ webhook_url="$web
h
ook_url/slack"
- payload="{${msg}
,
"
+ payload="{${msg}"
if [ -n "$username" ]; then
payload="$payload, \"username\": \"$username\""
if [ -n "$username" ]; then
payload="$payload, \"username\": \"$username\""