Whenever I try to implement this Google Cloud function:
exports.scheduledFunction = functions.pubsub.schedule('every 5 minutes').onRun((context) => {
console.log('This should run every 5 minutes!');
});
I encounter the error message "Function returned undefined, expected Promise or value" in my Firebase console
Am I mistaken in assuming that this function is supposed to log to my console every 5 minutes?