Reputation: 2107
Why this error?
ReferenceError: logger is not defined (line 4)
function myFunction() {
var res = UrlFetchApp.fetch("https://api.cartolafc.globo.com/mercado/destaques");
var content = res.getContentText();
logger.log(res);
logger.log(content);
}
Upvotes: 1
Views: 981