Skip to content

Commit ce8e668

Browse files
committed
Update README.md
1 parent 7d5b18a commit ce8e668

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,29 @@ authorization: JWT_TOKEN (returned by Login request)
222222

223223
> 👉 Using npm:
224224
225-
```npm run update-role [user_id] [role_id (optional)]```
225+
```$ npm run update-role [user_id] [role_id (optional)]```
226226

227227
<br />
228228

229229
> 👉 Using yarn:
230230
231-
```npm run update-role [user_id] [role_id (optional)]```
231+
```$ yarn update-role [user_id] [role_id (optional)]```
232232

233233
- [user_id] is the id of existing user to update role for.
234234
- [role_id] is the id of role: 1 for admin & 2 for user. If you don't provide any role_id it would update user to admin role.
235235

236236
<br />
237237

238-
## ✨ Run the Tests
238+
## ✨ Run the Tests (`minimal suite`)
239239

240-
```yarn test```
240+
```
241+
$ npm run test
242+
// OR
243+
$ yarn test
244+
```
241245

242246
<br />
243247

244-
245248
## ✨ Credits
246249

247250
This software is provided by the core AppSeed team with an inspiration from other great NodeJS starters:

0 commit comments

Comments
 (0)