From 9e024fea53df32c55d43590f31f03db968991eda Mon Sep 17 00:00:00 2001
From: irfanamal <irfan.ihsanulamal@yahoo.com>
Date: Fri, 29 Mar 2019 17:50:37 +0700
Subject: [PATCH] Menyesuaikan spek (All)

---
 backend/src/controller/userController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/controller/userController.js b/backend/src/controller/userController.js
index ec0df43..d130fd8 100644
--- a/backend/src/controller/userController.js
+++ b/backend/src/controller/userController.js
@@ -6,7 +6,7 @@ const Role = db.role;
 
 exports.fetchAll = (req, res) => {
 	User.findAll({
-		attributes: ['id', 'name', 'username'],
+		attributes: ['id', 'name'],
 		include: [{
 			model: Role, 
 			attributes: ['id', 'name']
-- 
GitLab