Skip to content

Commit

Permalink
Coveralls added
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Oct 17, 2017
1 parent a79e5a9 commit 9b18371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/benfluleck/HelloBooks.png)](https://travis-ci.org/benfluleck/HelloBooks.svg?branch=staging)
[![Code Climate](https://codeclimate.com/github/benfluleck/HelloBooks/badges/gpa.svg)](https://codeclimate.com/github/benfluleck/HelloBooks/)
[![Test Coverage](https://codeclimate.com/github/benfluleck/HelloBooks/badges/coverage.svg)](https://codeclimate.com/github/codeclimate/benfluleck/HelloBooks)
[![Coverage Status](https://coveralls.io/repos/github/benfluleck/HelloBooks/badge.svg?branch=staging)](https://coveralls.io/github/benfluleck/HelloBooks?branch=staging)

# HelloBooks

Expand Down
3 changes: 2 additions & 1 deletion server/src/controllers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ export default {
token: token.token,
username: req.body.username
});
});
})
.catch(error => res.status(500).send(error.message));
} else {
res
.status(400)
Expand Down

0 comments on commit 9b18371

Please sign in to comment.