Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mashpie committed Feb 7, 2016
1 parent 687794d commit 2eb21ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ i18n.init = function i18nInit(request, response, next) {
}

// bind api to req also
if (typeof request === 'object') {
applyAPItoObject(request);
}
applyAPItoObject(request);
}

if (typeof next === 'function') {
Expand Down

0 comments on commit 2eb21ea

Please sign in to comment.