Skip to content

Commit ad8868d

Browse files
obinnaelvisosampoyigi
authored andcommitted
fix(docs): update example API token request to use email instead of username
1 parent 4938ebb commit ad8868d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ php artisan igniter:api-token --name=my_device --email=my_email
5353
Or, by sending a POST request to: `https://your-tastyigniter-site.com/api/token`
5454

5555
```bash
56-
curl -X POST --data "username=my_user&password=my_password&device_name=my_device" https://your-tastyigniter-site.com/api/token
56+
curl -X POST --data "email=my_email&password=my_password&device_name=my_device" https://your-tastyigniter-site.com/api/token
5757
```
5858

5959
The post data should contain the following fields:

0 commit comments

Comments
 (0)