@Pratix It’s highly likely that the Netlify scan is checking references in HTML files and doesn’t read JavaScript files looking for URLs that may be referenced at runtime.
Your HTML doesn’t have any references to non-https:
Since the site omdbapi.com does have https (as confirmed by visiting https://omdbapi.com/), all you should need to do is change the baseURL in the code to "https://www.omdbapi.com/".