| @@ -4,7 +4,6 @@ | ||
| 4 | 4 | use DiegoCaprioli\Larachimp\Models\LarachimpListMember; | 
| 5 | 5 | use DiegoCaprioli\Larachimp\Services\Larachimp; | 
| 6 | 6 | use Illuminate\Contracts\Logging\Log; | 
| 7 | -use Illuminate\Support\Facades\App; | |
| 8 | 7 | |
| 9 | 8 | class MailchimpManager | 
| 10 | 9 |  { | 
| @@ -121,8 +121,8 @@ | ||
| 121 | 121 |      { | 
| 122 | 122 |          return LarachimpFacade::request('PATCH', 'lists/'.$this->listId.'/members/'.$subscriberHash, [ | 
| 123 | 123 | 'body' => json_encode([ | 
| 124 | - 'status' => $member->isSubscribedToMailchimpList() ? 'subscribed' : 'unsubscribed', | |
| 125 | - ]), | |
| 124 | + 'status' => $member->isSubscribedToMailchimpList() ? 'subscribed' : 'unsubscribed', | |
| 125 | + ]), | |
| 126 | 126 | ]); | 
| 127 | 127 | } | 
| 128 | 128 | |
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | |
| 6 | 6 |  class LarachimpServiceProvider extends ServiceProvider { | 
| 7 | 7 | |
| 8 | - /** | |
| 8 | + /** | |
| 9 | 9 | * Register paths to be published by the publish command. | 
| 10 | 10 | * | 
| 11 | 11 | * @return void | 
| @@ -41,6 +41,6 @@ | ||
| 41 | 41 | | from users | 
| 42 | 42 | | | 
| 43 | 43 | */ | 
| 44 | -   'list_id' => env('MAILCHIMP_LIST_ID', '123'), | |
| 44 | +    'list_id' => env('MAILCHIMP_LIST_ID', '123'), | |
| 45 | 45 | |
| 46 | 46 | ]; | 
| 47 | 47 | \ No newline at end of file |