Skip to content

Commit

Permalink
Update UsersController.js
Browse files Browse the repository at this point in the history
  • Loading branch information
niyoceles authored Sep 25, 2019
1 parent 9392639 commit 205d2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/UsersController.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UsersController {
}

static async getAllUserAccounts(req, res) {
UsersController.checkUser(req, res);
// UsersController.checkUser(req, res); all other users to view users
try {
let checkUserAccounts = '';
checkUserAccounts = await db.query('SELECT * FROM users');
Expand Down

0 comments on commit 205d2bd

Please sign in to comment.