@@ -547,6 +547,8 @@ private function _detectMethod($method)
547
547
'account/update_profile_background_image ' ,
548
548
'account/update_profile_colors ' ,
549
549
'account/update_profile_image ' ,
550
+ 'account/update_profile_banner ' ,
551
+ 'account/remove_profile_banner ' ,
550
552
'account/settings ' ,
551
553
// Notifications
552
554
'notifications/follow ' ,
@@ -597,7 +599,8 @@ private function _detectMultipart($method)
597
599
'statuses/update_with_media ' ,
598
600
// Accounts
599
601
'account/update_profile_background_image ' ,
600
- 'account/update_profile_image '
602
+ 'account/update_profile_image ' ,
603
+ 'account/update_profile_banner '
601
604
);
602
605
return in_array ($ method , $ multiparts );
603
606
}
@@ -623,7 +626,8 @@ private function _detectFilenames($method, &$params)
623
626
'statuses/update_with_media ' => 'media[] ' ,
624
627
// Accounts
625
628
'account/update_profile_background_image ' => 'image ' ,
626
- 'account/update_profile_image ' => 'image '
629
+ 'account/update_profile_image ' => 'image ' ,
630
+ 'account/update_profile_banner ' => 'banner '
627
631
);
628
632
// method might have files?
629
633
if (! in_array ($ method , array_keys ($ possible_files ))) {
0 commit comments