File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ WPJsonAPI.instance.initWith(baseUrl: "https://mysite.com");
4848```
4949
5050
51- ## 2 - Call a method from the request callback
51+ ### Call a method from the request callback
5252``` dart
5353WPUserLoginResponse wpUserLoginResponse = await WPJsonAPI.instance
5454 .api((request) => request.wpLogin(
@@ -150,7 +150,7 @@ WPUserResetPasswordResponse wpUserResetPasswordResponse = await WPJsonAPI.instan
150150```
151151
152152#### WooCommerce - Get users info in WooCommerce
153- - Used to get WooCommerce info for a given user, pass in the userToken which you should have stored somewhere safe in shared_pref or other
153+ - Used to get WooCommerce info for a given user
154154- The first parameter is the ** userToken** which is returned from the login/register response. You should have this saved somewhere e.g. shared_pref
155155
156156``` dart
You can’t perform that action at this time.
0 commit comments