Skip to content

Commit 9f32bfb

Browse files
author
WooSignal
authored
Update Readme
1 parent b6167ec commit 9f32bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
5353
WPUserLoginResponse 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

0 commit comments

Comments
 (0)