File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4141 $ token = $ mailchimpService ->requestAccessToken ($ _GET ['code ' ]);
4242
4343 // Send a request with it
44- $ result = $ mailchimpService ->request ('/users/profile.json ' );
44+ $ result = $ mailchimpService ->request ('/ ' );
4545
4646 header ('Content-Type: application/json ' );
4747 echo $ result ; exit ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ protected function setBaseApiUri(StdOAuth2Token $token)
106106 $ meta = json_decode ($ response , true );
107107
108108 // Set base api uri.
109- $ this ->baseApiUri = new Uri ('https:// ' . $ meta ['dc ' ] .'.api.mailchimp.com/2 .0/ ' );
109+ $ this ->baseApiUri = new Uri ('https:// ' . $ meta ['dc ' ] .'.api.mailchimp.com/3 .0/ ' );
110110
111111 // Allow chaining.
112112 return $ this ;
You can’t perform that action at this time.
0 commit comments