I don’t know why it’s even working in Preview…
It is incorrect to use both await and .then() to handle a returned Promise . In your frontend code, you are using both, which is incorrect:
await getAdvisoryLevel(countryIso)
.then(myData => {
This code is wrong. Delete the await keyword and .then() will properly handle the Promise.