correction made to arguments structure (#30)

This commit is contained in:
Daniel Joudat
2020-11-18 21:41:56 +03:00
committed by GitHub
parent 1a000e916f
commit 153a11e699

View File

@@ -27,7 +27,7 @@ Users
### Create ### Create
```shell ```shell
micro call users Users.Create '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim@example.com"}, "password": "password1"}' micro call users Users.Create '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim@example.com", "password": "password1"}'
``` ```
### Read ### Read
@@ -39,7 +39,7 @@ micro call users Users.Read '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b"}'
### Update ### Update
```shell ```shell
micro call users Users.Update '{"user":{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim+update@example.com"}}' micro call users Users.Update '{"id": "ff3c06de-9e43-41c7-9bab-578f6b4ad32b", "username": "asim", "email": "asim+update@example.com"}'
``` ```
### Update Password ### Update Password