@@ -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 |