Skip to content

Commit 7fce0c5

Browse files
committed
should remove the console.log...
1 parent a529f40 commit 7fce0c5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/database/authentication.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const validateToken = (req, res) => {
1010
return new Promise((resolve, reject) => {
1111
const a = ['Wilma2SID', 'StudentID', 'username', 'iat', 'isTeacher'];
1212
const token = req.headers.token;
13-
console.log(token);
1413

1514
if (!token) {
1615
res.status(401).json({ err: 'Missing authentication parameters: ["token"]', status: 401 });

src/requests/gradebook.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const getGradeBook = (auth, limit, filter) => {
88
return new Promise((resolve, reject) => {
99
console.log(auth)
1010
if (auth.isTeacher) {
11+
console.log("teacher")
1112
return resolve({})
1213
}
1314

0 commit comments

Comments
 (0)