Skip to content

Commit 779a801

Browse files
authored
Merge pull request #10 from utxo-one/dev
🐛 Fixed Follower Return Bug
2 parents 82fa8c6 + dd65337 commit 779a801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Clients/UserClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getLikedTweets(string $id): Tweets
3838
public function getFollowers(string $id): Users
3939
{
4040
$response = $this->get('users/' . $id . '/followers', [
41-
'user.fields' => 'created_at',
41+
'user.fields' => $this->userFields,
4242
]);
4343

4444
return new Users($response->getData());
@@ -47,7 +47,7 @@ public function getFollowers(string $id): Users
4747
public function getFollowing(string $id): Users
4848
{
4949
$response = $this->get('users/' . $id . '/following', [
50-
'user.fields' => 'created_at',
50+
'user.fields' => $this->userFields,
5151
]);
5252

5353
return new Users($response->getData());

0 commit comments

Comments
 (0)