Skip to content

Commit

Permalink
Fixes multifetch calling itself bug
Browse files Browse the repository at this point in the history
  • Loading branch information
willfrew committed Mar 9, 2015
1 parent f71d08b commit 6b586e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var getResources = function(request, ignore) {
var path = url.parse(request.url).pathname;

return Object.keys(query).reduce(function(acc, key) {
if(key !== path && ignore.indexOf(key) === -1) {
if(query[key] !== path && ignore.indexOf(key) === -1) {
acc[key] = query[key];
}

Expand Down

0 comments on commit 6b586e7

Please sign in to comment.