Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DremyGit committed Jun 8, 2016
1 parent bad579f commit 134e7a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# some-http-error

[![Build Status](https://travis-ci.org/DremyGit/some-http-error.png)](https://travis-ci.org/DremyGit/some-http-error)
[![Coverage Status](https://coveralls.io/repos/github/DremyGit/some-http-error/badge.svg?branch=master)](https://coveralls.io/github/DremyGit/some-http-error?branch=master)
A javascript error creator for some often used HTTP error

## Getting started
Expand All @@ -21,7 +23,7 @@ var HttpError = require('some-http-error');

function handle(req, res, next) {

var userId = req.query('id');
var userId = req.query.id;

// If some error happened
if (!userId) {
Expand Down

0 comments on commit 134e7a6

Please sign in to comment.