Skip to content

Instantly share code, notes, and snippets.

View mmbelkiman's full-sized avatar
👾

Marcelo B mmbelkiman

👾
View GitHub Profile
function getCurrentShowName(channelName) {
return new Promise((resolve, reject) => {
getChannelId(channelName).then(id => getCurrentShowWithId(id).then(showObj => {
resolve(showObj.titulo);
})).catch(error => {
reject(error);
});
});
}