mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
* fix(http): handle status code 204 to use javascript null * add change file --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
@@ -262,7 +262,7 @@ export async function fetch(
|
||||
}
|
||||
})
|
||||
|
||||
const res = new Response(readableStreamBody, {
|
||||
const res = new Response(status !== 204 ? readableStreamBody : null, {
|
||||
status,
|
||||
statusText
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user