Completed
Push — development ( d5c557...f6b77e )
by Bhanu
18:33 queued 08:37
created
app/Http/Controllers/Order/BaseOrderController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
         $data = $template->data;
276 276
         $replace = [
277 277
             'name'          => $user->first_name.' '.$user->last_name,
278
-             'serialkeyurl' => $myaccounturl,
278
+                'serialkeyurl' => $myaccounturl,
279 279
             'downloadurl'   => $downloadurl,
280 280
             'invoiceurl'    => $invoiceurl,
281 281
             'product'       => $product,
Please login to merge, or discard this patch.
app/Http/Controllers/Common/BaseMailChimpController.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -50,18 +50,18 @@  discard block
 block discarded – undo
50 50
             }
51 51
             if ($interestGroupIdForNo && $productGroupId) {
52 52
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
53
-                 'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false, $productGroupId =>true],
54
-                  ]);
53
+                    'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false, $productGroupId =>true],
54
+                    ]);
55 55
             //refer to https://us7.api.mailchimp.com/playground
56 56
             } elseif ($interestGroupIdForNo && $productGroupId == null) {
57 57
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
58
-                 'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false],
59
-                  ]);
58
+                    'interests'         => [$interestGroupIdForNo => true, $interestGroupIdForYes=>false],
59
+                    ]);
60 60
             //refer to https://us7.api.mailchimp.com/playground
61 61
             } elseif ($productGroupId && $interestGroupIdForNo == null || $interestGroupIdForYes == null) {
62 62
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
63
-                 'interests'         => [$productGroupId =>true],
64
-                  ]);
63
+                    'interests'         => [$productGroupId =>true],
64
+                    ]);
65 65
             }
66 66
         } catch (Exception $ex) {
67 67
             $exe = json_decode($ex->getMessage(), true);
@@ -85,18 +85,18 @@  discard block
 block discarded – undo
85 85
             }
86 86
             if ($interestGroupIdForNo && $productGroupId) {
87 87
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
88
-                 'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true, $productGroupId =>true],
89
-                 //refer to https://us7.api.mailchimp.com/playground
90
-                 ]);
88
+                    'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true, $productGroupId =>true],
89
+                    //refer to https://us7.api.mailchimp.com/playground
90
+                    ]);
91 91
             } elseif ($interestGroupIdForNo && $productGroupId == null) {
92 92
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
93
-                 'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true],
94
-                  ]);
93
+                    'interests'         => [$interestGroupIdForNo => false, $interestGroupIdForYes=>true],
94
+                    ]);
95 95
             //refer to https://us7.api.mailchimp.com/playground
96 96
             } elseif ($productGroupId && $interestGroupIdForNo == null || $interestGroupIdForYes == null) {
97 97
                 $result = $this->mailchimp->patch("lists/$this->list_id/members/$hash", [
98
-                 'interests'         => [$productGroupId =>true],
99
-                  ]);
98
+                    'interests'         => [$productGroupId =>true],
99
+                    ]);
100 100
             }
101 101
             //refer to https://us7.api.mailchimp.com/playground
102 102
         } catch (Exception $ex) {
Please login to merge, or discard this patch.