In OAuth guide, update the "Write a helper function for XHR requests" helper
ashryanbeats opened this issue · 2 comments
ashryanbeats commented
Submit an issue
Description of the issue
Use async/await
dkstevekwak commented
@ashryanbeats can you elaborate on this for me? Currently, the helper function itself returns a promise object which is used with async/await. Since the helper function has to use XHR and its polling mechanism, the current state is the simplest we can get. Please let me know if you disagree
dkstevekwak commented
@ashryanbeats can you look at the comments above please?