File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ export default class LogrocketFuzzySearch {
31
31
return this . _networkHandler ( request ) ;
32
32
}
33
33
34
- public responseSanitizer ( reponse : INetworkRequestResponse ) : object | any {
35
- return this . _networkHandler ( reponse ) ;
34
+ public responseSanitizer ( response : INetworkRequestResponse ) : object | any {
35
+ return this . _networkHandler ( response ) ;
36
36
}
37
37
38
- private _networkHandler ( networkRequestReponse : INetworkRequestResponse ) {
39
- const { body, headers } = networkRequestReponse ;
38
+ private _networkHandler ( networkRequestResponse : INetworkRequestResponse ) {
39
+ const { body, headers } = networkRequestResponse ;
40
40
const requestContentType : string = headers && ( headers [ 'Content-Type' ] || '' ) ;
41
41
const isUrlEncodedRequest : boolean = requestContentType . includes ( 'form-urlencoded' ) ;
42
42
let parsedBody : object ;
@@ -46,12 +46,12 @@ export default class LogrocketFuzzySearch {
46
46
47
47
this . _searchBody ( parsedBody ) ;
48
48
} catch ( error ) {
49
- return networkRequestReponse ;
49
+ return networkRequestResponse ;
50
50
}
51
51
52
- networkRequestReponse . body = parsedBody ;
52
+ networkRequestResponse . body = parsedBody ;
53
53
54
- return networkRequestReponse ;
54
+ return networkRequestResponse ;
55
55
}
56
56
57
57
private _searchBody ( body : any = { } ) {
You can’t perform that action at this time.
0 commit comments