if your function is async then its return a promise not actual operation so if you want to handle promise you need to write await for resole promise