Skip to content

Commit

Permalink
Merge pull request #39 from coupej/master
Browse files Browse the repository at this point in the history
Update Channel.php
  • Loading branch information
vluzrmos authored Apr 14, 2023
2 parents c929f50 + a052993 commit 084f999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vluzrmos/SlackApi/Methods/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function invite($channel, $user)
*/
public function join($name)
{
return $this->method('join', ['name' => $name]);
return $this->method('join', ['channel' => $name]);
}

/**
Expand Down

0 comments on commit 084f999

Please sign in to comment.