Skip to content

Commit

Permalink
fix channel id param name
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdeafcafe committed Jun 19, 2024
1 parent adbf385 commit 7c03459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ func (api *Client) completeUploadExternal(ctx context.Context, fileID string, pa
}

if params.channel != "" {
values.Add("channels", params.channel)
values.Add("channel_id", params.channel)
}
if params.initialComment != "" {
values.Add("initial_comment", params.initialComment)
Expand Down

0 comments on commit 7c03459

Please sign in to comment.