How can I get the value out of Promise?
let id = getUserID(email, args, context)
.then(id => id);
I'm using then
but still Promise not resolved.
How can I get the value out of Promise?
let id = getUserID(email, args, context)
.then(id => id);
I'm using then
but still Promise not resolved.