File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export interface ClientOptions {
102
102
*/
103
103
export async function fetch (
104
104
input : URL | Request | string ,
105
- init ?: RequestInit & ClientOptions
105
+ init ?: RequestInit & ClientOptions ,
106
106
) : Promise < Response > {
107
107
const maxRedirections = init ?. maxRedirections ;
108
108
const connectTimeout = init ?. connectTimeout ;
@@ -150,7 +150,7 @@ export async function fetch(
150
150
// we need to ensure we have all header values as strings
151
151
// eslint-disable-next-line
152
152
typeof val === "string" ? val : ( val as any ) . toString ( ) ,
153
- ]
153
+ ] ,
154
154
) ;
155
155
156
156
const rid = await invoke < number > ( "plugin:http|fetch" , {
@@ -193,7 +193,7 @@ export async function fetch(
193
193
"plugin:http|fetch_read_body" ,
194
194
{
195
195
rid : responseRid ,
196
- }
196
+ } ,
197
197
) ;
198
198
199
199
const res = new Response (
@@ -206,7 +206,7 @@ export async function fetch(
206
206
headers : responseHeaders ,
207
207
status,
208
208
statusText,
209
- }
209
+ } ,
210
210
) ;
211
211
212
212
// url is read only but seems like we can do this
You can’t perform that action at this time.
0 commit comments