handleAuthClick() returns undefined
geminismille opened this issue · comments
geminismille commented
I am using this package to integrate google calendar into one of my project and when I call ApiCalendar.handleAuthClick()
and try to see the response it gives me undefined.
Here is the code I am doing right now:
ApiCalendar.handleAuthClick().then((response) => { console.log(response); })
Seems like it does not send promise as a response if that is the case then how can I get the access token?
Kubessandra commented
Hello,
I will merge this PR #69 today, before this PR the handleAuthClick does not return a Promise.
Kubessandra commented
The new version is 1.5.0 and you have access to the promise