Permalink
Browse files

Fix faux request sent to static handler

  • Loading branch information...
1 parent 2a0b98c commit f297984184aa8a043e0d6761c1cf8bcfd1ef77d3 @kriszyp committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/media/html.js
View
@@ -7,7 +7,7 @@ Media({
return 1;
},
serialize: function(object, parameters, request, response){
- var response = publicStatic({pathInfo:"/list.html"});
+ var response = publicStatic({pathInfo:"/list.html", headers:{}, method: "GET"});
return {
forEach: function(callback){
return response.then(function(response){

0 comments on commit f297984

Please sign in to comment.