Skip to content

Commit 7f5414d

Browse files
authored
Fix sample code
1 parent 1a5f2af commit 7f5414d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Then, use the factory that is provided to create the client:
3535
// $client contains all the methods to interact with the API
3636
$client = JoliCode\Slack\ClientFactory::create($yourToken);
3737

38-
$user = $client->usersInfo()->getUser();
38+
$user = $client->usersInfo(['user' => 'U123AZER'])->getUser();
3939

4040
dump($user);
4141
```

0 commit comments

Comments
 (0)