Skip to content

Commit ca92325

Browse files
Adds the multiple channel logic back
1 parent 60c76ae commit ca92325

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.git-hooks-matomo/pre-push

100644100755
File mode changed.

SlackApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function completeUploadExternal(string $channel, string $subject): bool
119119
[
120120
'token' => $this->token,
121121
'files' => json_encode([['id' => $this->fileID]]),
122-
'channel_id' => $channel,
122+
'channels' => $channel,
123123
'initial_comment' => $subject
124124
],
125125
['Content-Type' => 'multipart/form-data']

0 commit comments

Comments
 (0)