I am trying to set up cloud functions in firebase, and couldn't get it to run for when a user is followed, so tried setting up a simple project for creating a user, and am now trying for any change on the users branch of the database and it is still never triggered. The function shows up in my dashboard, but never triggers.
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp();
exports.onUserCreateNotification = functions.database.ref('/users/')
.onWrite((change, context) => {
//const userUid = context.params.followedUid;
console.log('We have a new user UID:');
});