mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Fix fetch
This commit is contained in:
parent
88fe43b3e2
commit
842575a3cd
@ -85,8 +85,8 @@ class Fetch {
|
||||
|
||||
get(url, params) {
|
||||
let paramsCopy = this._merge(params);
|
||||
let newUrl = this.prepareUrl(url, params);
|
||||
return this.request('get', newUrl, true);
|
||||
let newUrl = this.prepareUrl(url, params, true);
|
||||
return this.request('get', newUrl);
|
||||
}
|
||||
|
||||
post(url, params) {
|
||||
|
Loading…
Reference in New Issue
Block a user