我想向用户发送通知,但给我错误。
const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.initializeApp();
exports.pushFollowRequest=functions.database.ref("/users/{my_uid}/followrequestkeys/{other_uid}").onWrite(data=>{
const myuid = data.params.my_uid;
const otheruid=data.params.other_uid;
});
我该如何解决?