File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default ({
3131 Error : {
3232 ErrorCode : errorCode ,
3333 ErrorMessage : errorMessage
34- } ,
34+ } = { } ,
3535 Status : lastUpdateStatus ,
3636 } = { } ,
3737 LoggingConfiguration : {
Original file line number Diff line number Diff line change @@ -29,13 +29,17 @@ export const mapTextTransformations = (transforms: TextTransformations = []) =>
2929export const formatSearchString = (
3030 searchString : SearchString = ''
3131) : string => {
32+ console . log ( 'we got the search string' )
33+ console . log ( typeof searchString )
3234 if ( searchString instanceof Blob ) {
3335 return 'blob'
3436 }
3537 if ( searchString instanceof Uint8Array ) {
36- return Buffer . from ( searchString ) . toString ( 'base64' )
38+ console . log ( 'search string is a array' )
39+ return Buffer . from ( searchString ) . toString ( )
3740 }
3841 if ( searchString instanceof Buffer ) {
42+ console . log ( 'search string is a buffer' )
3943 return searchString . toString ( )
4044 }
4145
You can’t perform that action at this time.
0 commit comments