File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,5 @@ export interface ApiResponse<T = any> {
1414 status : number ;
1515 statusText : string ;
1616 headers : Record < string , string > ;
17- config : ApiRequestParams ;
1817 request ?: any ;
1918}
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export const createSDKAdapter = (postRobot: typeof PostRobot) => async (config:
2424 status : data ?. status || 200 ,
2525 statusText : 'OK' ,
2626 headers : config . headers || { } ,
27- config,
2827 } ;
2928 } catch ( error ) {
3029 const typedError = error as GenericObjectType & { status ?: number ; statusText ?: string ; headers ?: Record < string , string > ; body ?: any ; message ?: string } ;
@@ -33,7 +32,6 @@ export const createSDKAdapter = (postRobot: typeof PostRobot) => async (config:
3332 status : typedError . status || 500 ,
3433 statusText : typedError . statusText || 'Internal Server Error' ,
3534 headers : typedError . headers || { } ,
36- config,
3735 } ;
3836 }
3937} ;
You can’t perform that action at this time.
0 commit comments