Ask coding questions

← Back to all posts
unavoidable errors, I need your help.
nanasv (0)

specifically in my /public/auth_control,no matter how I edit my code to use async and await key word am still seeing error symbol. I try using ES6,but its still the same please help suggest or your free to edit thanks.

Comments
hotnewtop
btfuss (177)

I think the error is saying that database should be a string, or one of the values.

nanasv (0)

@btfuss
I have already set the database to string. Or may be I just dont
understand what you mean. Please what did you mean database in string .you can give example