Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
errietta committed Jun 3, 2018
1 parent 3032d14 commit c635e8e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/routes/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const register = (req: Request, res: Response) => {
}

let { email, password, firstname } = req.body;
console.log(email);

bcrypt.hash(password, 10)
.then((hashed_password) => UserModel.create({
Expand All @@ -44,7 +43,6 @@ export const register = (req: Request, res: Response) => {
email: email
}))
.then((user: User) => {
console.log("found user", user);
res.json({
success: true,
userId: user.id,
Expand Down
1 change: 0 additions & 1 deletion src/routes/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ let _loadFiles = async () => {

export let index = function(req: Request, res: Response) {
let now = moment().format('YYYYMM');
console.log("from router", SystemConfig.config);
res.redirect(`/report/${now}`);
};

Expand Down

0 comments on commit c635e8e

Please sign in to comment.