Skip to content

Commit

Permalink
correction made to arguments structure (micro#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaR authored Nov 18, 2020
1 parent 1a000e9 commit 153a11e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions users/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Users
### Create

```shell
micro call users Users.Create '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "[email protected]"}, "password": "password1"}'
micro call users Users.Create '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "[email protected]", "password": "password1"}'
```

### Read
Expand All @@ -39,7 +39,7 @@ micro call users Users.Read '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b"}'
### Update

```shell
micro call users Users.Update '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "[email protected]"}}'
micro call users Users.Update '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "[email protected]"}'
```

### Update Password
Expand Down

0 comments on commit 153a11e

Please sign in to comment.