From a0529930a4f5bc85d6b73e0cbabe2b86cfa060c2 Mon Sep 17 00:00:00 2001 From: coupej Date: Thu, 13 Apr 2023 12:58:02 -0700 Subject: [PATCH] Update Channel.php Fixed name to channel parameter due to api change --- src/Vluzrmos/SlackApi/Methods/Channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vluzrmos/SlackApi/Methods/Channel.php b/src/Vluzrmos/SlackApi/Methods/Channel.php index d098032..f33429f 100644 --- a/src/Vluzrmos/SlackApi/Methods/Channel.php +++ b/src/Vluzrmos/SlackApi/Methods/Channel.php @@ -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]); } /**