Permalink
Browse files

Typo in the previous commit

  • Loading branch information...
1 parent 361378a commit d9edb3a2a5a42f306b48b590f6b405882c858c02 @jhurliman committed May 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/api.js
View
@@ -57,7 +57,7 @@ exports.ingest = function(req, res) {
return server.respond(req, res, 500, { error: 'Missing "version" field' });
if (codeVer != config.codever)
return server.respond(req, res, 500, { error: 'Version "' + codeVer + '" does not match required version "' + config.codever + '"' });
- if (isNaN(parseInt(length, 10))
+ if (isNaN(parseInt(length, 10)))
return server.respond(req, res, 500, { error: 'Missing or invalid "length" field' });
if (!track)
return server.respond(req, res, 500, { error: 'Missing "track" field' });

0 comments on commit d9edb3a

Please sign in to comment.