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 41
41
$ token = $ mailchimpService ->requestAccessToken ($ _GET ['code ' ]);
42
42
43
43
// Send a request with it
44
- $ result = $ mailchimpService ->request ('/users/profile.json ' );
44
+ $ result = $ mailchimpService ->request ('/ ' );
45
45
46
46
header ('Content-Type: application/json ' );
47
47
echo $ result ; exit ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ protected function setBaseApiUri(StdOAuth2Token $token)
106
106
$ meta = json_decode ($ response , true );
107
107
108
108
// 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/ ' );
110
110
111
111
// Allow chaining.
112
112
return $ this ;
You can’t perform that action at this time.
0 commit comments