I tried the following code
async function getOtherEditors() { return new Promise((resolve, reject) => { authorize(