Skip to content

Commit 4663962

Browse files
committed
Change default API version to 1.1 for media
1 parent 30375f8 commit 4663962

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TwitterChannel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function __construct(protected TwitterOAuth $twitter)
2121
*/
2222
public function send($notifiable, Notification $notification): array|object
2323
{
24+
$this->twitter->setApiVersion('1.1');
2425
$this->changeTwitterSettingsIfNeeded($notifiable);
2526

2627
$twitterMessage = $notification->toTwitter($notifiable);

0 commit comments

Comments
 (0)