plugin-docs
plugin-docs copied to clipboard
In OAuth guide, update the "Write a helper function for XHR requests" helper
Submit an issue
Description of the issue
Use async/await
@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
@ashryanbeats can you look at the comments above please?