Using asynchronous function in conditional in nodejs

welcome to shbcf.ru