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 {
3131 return this . _networkHandler ( request ) ;
3232 }
3333
34- public responseSanitizer ( reponse : INetworkRequestResponse ) : object | any {
35- return this . _networkHandler ( reponse ) ;
34+ public responseSanitizer ( response : INetworkRequestResponse ) : object | any {
35+ return this . _networkHandler ( response ) ;
3636 }
3737
38- private _networkHandler ( networkRequestReponse : INetworkRequestResponse ) {
39- const { body, headers } = networkRequestReponse ;
38+ private _networkHandler ( networkRequestResponse : INetworkRequestResponse ) {
39+ const { body, headers } = networkRequestResponse ;
4040 const requestContentType : string = headers && ( headers [ 'Content-Type' ] || '' ) ;
4141 const isUrlEncodedRequest : boolean = requestContentType . includes ( 'form-urlencoded' ) ;
4242 let parsedBody : object ;
@@ -46,12 +46,12 @@ export default class LogrocketFuzzySearch {
4646
4747 this . _searchBody ( parsedBody ) ;
4848 } catch ( error ) {
49- return networkRequestReponse ;
49+ return networkRequestResponse ;
5050 }
5151
52- networkRequestReponse . body = parsedBody ;
52+ networkRequestResponse . body = parsedBody ;
5353
54- return networkRequestReponse ;
54+ return networkRequestResponse ;
5555 }
5656
5757 private _searchBody ( body : any = { } ) {
You can’t perform that action at this time.
0 commit comments