(A Custom Search Function): Unexpected token ;

Hello!
I would like to get help from you to solve an issue with unexpected token
on the almost last line of code. Obviously by the question, you know
that I am not an expert. Let me discribe this issue.

On my website, I wanted to add a custom search function for anyone
who wants to read a blog post again and thanks to this function
she/he can research it by typing title of blog post or writer nickname.

I followed all instructions how to get this function,
the guide is made by Wix Training Academy by Michael,
however I don’t know what I did wrong.

Wix Training Academy: Adding A Custom Search Function with Wix Code

My Code:
SEIN2 is an id of Search Bar
BlogPosts is DataBase


By the way, I’m not an english native speaker, I hope you will understand me.

Hi :raised_hand_with_fingers_splayed:

You probably have a syntax error, what’s your site URL?

https://charroinblog.wixsite.com/charroin

The code is on this page:
https://charroinblog.wixsite.com/charroin/blog-search-result

You have an error on the results page that prevents the code from loading, since I can’t access your editor that only thing I can do is guessing, try change the .then section to this:

.then( (res) => {
    $w('#repeater1').data = res.items;
});

Also, if you need professional help to debug your code, you can contact me (links in profile).