Skip to content

Commit eba1043

Browse files
idirouhabmpociot
authored andcommitted
Update README.md to fix examples (#122)
1 parent c1a50b5 commit eba1043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ If your API route accepts a `GET` method, this package tries to call the API rou
109109
If your API needs an authenticated user, you can use the `actAsUserId` option to specify a user ID that will be used for making these API calls:
110110

111111
```sh
112-
$ php artisan api:generate --routePrefix=api/* --actAsUserId=1
112+
$ php artisan api:generate --routePrefix="api/*" --actAsUserId=1
113113
```
114114

115115
If you don't want to automatically perform API response calls, use the `noResponseCalls` option.
116116

117117
```sh
118-
$ php artisan api:generate --routePrefix=api/* --noResponseCalls
118+
$ php artisan api:generate --routePrefix="api/*" --noResponseCalls
119119
```
120120

121121
> Note: The example API responses work best with seeded data.

0 commit comments

Comments
 (0)