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

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4863635275

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
This commit is contained in:
Lucas Nogueira
2023-05-02 16:42:05 +00:00
committed by tauri-bot
parent 450b214030
commit f718abc248
5 changed files with 5 additions and 5 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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