Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Update Readme.md #395

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Add the query to the `config/graphql.php` configuration file

And that's it. You should be able to query GraphQL with a request to the url `/graphql` (or anything you choose in your config). Try a GET request with the following `query` input

```
```javascript
query FetchUsers {
users {
id
Expand Down Expand Up @@ -404,7 +404,7 @@ You then add the mutation to the `config/graphql.php` configuration file

You should then be able to use the following query on your endpoint to do the mutation.

```
```javascript
mutation users {
updateUserPassword(id: "1", password: "newpassword") {
id
Expand Down