Navigation Menu

Skip to content

Commit

Permalink
Remove needless statusCode from request
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 22, 2014
1 parent 785c1aa commit b00823d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/droonga-protocol/connection.js
Expand Up @@ -197,7 +197,6 @@ Connection.prototype.emitMessage = function(type, body, callback, options) {
id: id,
from: from,
date: getCurrentTime(),
statusCode: 200,
dataset: options.dataset || this.defaultDataset,
type: type,
body: body
Expand Down
1 change: 0 additions & 1 deletion test/test-utils.js
Expand Up @@ -321,7 +321,6 @@ function createEnvelope(type, body, options) {
id: now.getTime(),
date: now.toISOString(),
from: '127.0.0.1:' + testReceivePort + '/' + testTag,
statusCode: 200,
dataset: options.dataset || 'test-dataset',
type: type,
body: body
Expand Down

0 comments on commit b00823d

Please sign in to comment.