isomorphic-fetch-http
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -93,3 +93,3 @@ 'use strict'; | ||
return this[http](url + '?' + (0, _qs.stringify)(param), header); | ||
return this[http](url + '?' + (0, _qs.stringify)(param), {}, header); | ||
} | ||
@@ -96,0 +96,0 @@ }, { |
{ | ||
"name": "isomorphic-fetch-http", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "react fetch by isomorphic-fetch", | ||
@@ -5,0 +5,0 @@ "main": "lib/isomorphic-fetch-http.js", |
@@ -59,3 +59,3 @@ import fetch from 'isomorphic-fetch'; | ||
get(url, param, header = {}) { | ||
return this[http](`${url}?${stringify(param)}`, header); | ||
return this[http](`${url}?${stringify(param)}`, {}, header); | ||
} | ||
@@ -62,0 +62,0 @@ |
15986