-
-
Notifications
You must be signed in to change notification settings - Fork 88
handleAuthClick() always returns undefined #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey bro, how u resolved this issues,cause if i getting it right handleAuthClick is not a promise anymore and i cant await for it |
If I'm not wrong, |
No I did not. I decided to use Google's API for this task as I needed some features that this package did not have.
I need to await it but it does not return anything. I also tried without |
I understand, but i have a case, when i click on "Create Event", but while user trying to choose his account, other method createEvent trying to work and it is faileng cause it is no gapi, if i am getting it right. So i think it will be better to return smth in case, while user choose his account and then call other methods | |
i am trying to modify somehow handleAuth method, but it is not seems to work properly |
In docs, it says that
handleAuthClick()
returns a promise, but it does not. I need this so that after the user approves permission for the calendar, I can load all the events. Without it, I can't know if permission is granted or not.The text was updated successfully, but these errors were encountered: