Filtering data in a repeater by email and text

hello!

I need to filter my dataset by e-mail of the logged in user and by text typed in a text box, this is the code that i have:

import wixData from ‘wix-data’ ;
import wixUsers from ‘wix-users’ ;

$w.onReady( function () {
//TODO: write your page related code here…
});

export function SearchBar_keyPress(event) {
let client = $w( “#SearchBar” );
let user = wixUsers.currentUser;
let customers = user.getEmail()

    .then((customeremail) => { 

let userEmail = customers;

        wixData.query( "dataset2" ) 
        .eq( "correo" , userEmail) 
        .contains( "title" , client) 
        .find() 
}); 

}

But it does not work, Can somebody help me please.
Thanks a lot

Rafa