Skip to content

Commit

Permalink
Fixed: some typos in docs/guide/data-resolvers (vuestorefront#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Nov 28, 2020
1 parent ac14724 commit ab16444
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/guide/data-resolvers/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## What are the data resolvers?

The `data resolvers` are the way of manage the network/api calls and split them from the rest of application. All of available `data resolvers` you can find in the `core/data-resolver` directory.
If you want to trigger a network calls, you should create a new `data resolver`, and import it in the place where it's needed.
If you want to trigger a network call, you should create a new `data resolver`, and import it in the place where it's needed.

## How to create a data resolver
First of all, please create a types for it under the namespace `DataResolver`, then just create a new data resolver like this example below:
First of all, please create a type for it under the namespace `DataResolver`, then just create a new data resolver like this example below:


```js
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/data-resolvers/user-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Registering the new user by given user data (`customer`) and `password`.

#### `updateProfile: (userProfile: UserProfile) => Promise<Task>`

It updates the the current logged user profile (`userProfile`).
It updates the current logged user profile (`userProfile`).

#### `getProfile: () => Promise<Task>`

Expand Down

0 comments on commit ab16444

Please sign in to comment.