File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -222,26 +222,29 @@ authorization: JWT_TOKEN (returned by Login request)
222
222
223
223
> 👉 Using npm:
224
224
225
- ``` npm run update-role [user_id] [role_id (optional)] ```
225
+ ``` $ npm run update-role [user_id] [role_id (optional)]```
226
226
227
227
<br />
228
228
229
229
> 👉 Using yarn:
230
230
231
- ``` npm run update-role [user_id] [role_id (optional)]```
231
+ ``` $ yarn update-role [user_id] [role_id (optional)]```
232
232
233
233
- [ user_id] is the id of existing user to update role for.
234
234
- [ 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.
235
235
236
236
<br />
237
237
238
- ## ✨ Run the Tests
238
+ ## ✨ Run the Tests ( ` minimal suite ` )
239
239
240
- ``` yarn test ```
240
+ ```
241
+ $ npm run test
242
+ // OR
243
+ $ yarn test
244
+ ```
241
245
242
246
<br />
243
247
244
-
245
248
## ✨ Credits
246
249
247
250
This software is provided by the core AppSeed team with an inspiration from other great NodeJS starters:
You can’t perform that action at this time.
0 commit comments