fix(http): adjust client id argument name on `request` command usage

pull/340/head^2
Lucas Nogueira 2 years ago
parent e9bbe94181
commit dabacbe644
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -338,7 +338,7 @@ class Client {
options.responseType = ResponseType.Text options.responseType = ResponseType.Text
} }
return invoke<IResponse<T>>('plugin:http|request', { return invoke<IResponse<T>>('plugin:http|request', {
client: this.id, clientId: this.id,
options options
}).then((res) => { }).then((res) => {
const response = new Response(res) const response = new Response(res)

Loading…
Cancel
Save