mirror of
https://github.com/tauri-apps/tauri-plugin-http.git
synced 2026-01-31 00:45:17 +01:00
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:
committed by
tauri-bot
parent
450b214030
commit
f718abc248
2
dist-js/index.min.js
vendored
2
dist-js/index.min.js
vendored
@@ -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
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user