Skip to content

Commit

Permalink
Update Channel.php
Browse files Browse the repository at this point in the history
Fixed name to channel parameter due to api change
  • Loading branch information
coupej authored Apr 13, 2023
1 parent c929f50 commit a052993
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 a052993

Please sign in to comment.