I'm using `isomorphic-fetch` in a cloud function. ...
# prisma-whats-new
l
I'm using
isomorphic-fetch
in a cloud function. I can't get the promise callback to get called. The following example works fine on my node on my local machine, so I'm wondering if this is a cloud function issue:
Copy code
console.log('fetch with arrow function');
    fetch('<http://google.com|google.com>').then((response) => {
    	console.log('response with arrow function', response);
    });
    
    console.log('fetch withot arrow function');
    fetch('<http://google.com|google.com>').then(function(response) {
    	console.log('response without arrow function', response);
    });