Skip to content

Instantly share code, notes, and snippets.

@ORESoftware
Last active December 27, 2022 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ORESoftware/0cb7971d6d8392939c7763911a4daae3 to your computer and use it in GitHub Desktop.
Save ORESoftware/0cb7971d6d8392939c7763911a4daae3 to your computer and use it in GitHub Desktop.
here is fix for code
const getBBBMeetingInfo = async (meetingID) => {
const getMeetingInfo = api.monitoring.getMeetingInfo(meetingID);
const result = await bbb.http(getMeetingInfo);
result.meetingID = meetingID;
if(result.returncode == 'FAILED'){
updateNotificationCallStatus(meetingID)
}
return result.returncode
}
@chgav007
Copy link

Thanks for your prompt response.

 let response;
                               let bn =  getBBBMeetingInfo(ele.meetingId).then((res) => {
                                console.log(res , 'res')  // getting here value. 
                                response = res
                               })
                               console.log(response , 'bn') // undefined  => can you please also help how to get value here for response actually based on that I want to change my array where I am calling this method inside array forEach. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment