Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f6bfcc

Browse files
authored
Expose the JSON response from SuperglueResponseError (#172)
* Add json property to SuperglueResponseError* fix(extractJSON): clone the request before extracting JSON to allow later methods to retrieve the request body
1 parente1d3e3f commit7f6bfcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎superglue/lib/utils/request.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export function argsForFetch(
134134

135135
exportfunctionextractJSON(rsp:Response):PromiseLike<ParsedResponse>{
136136
returnrsp
137+
.clone()
137138
.json()
138139
.then((json)=>{
139140
return{ rsp, json}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp