我正在使用 Firebase Cloud Function 在实时数据库触发事件时发送 FCM。如何在 {followerUid} 中获取子项 ('uid') 的值?
exports.sendFollowerNotification = functions.database.ref('/followers/{followedUid}/{followerUid}').onWrite(event => {
const followerUid = event.params.followerUid;
const followedUid = event.params.followedUid;