How to refactor an async function with Promise inside of it

visit shbcf.ru