标签: firebase google-cloud-firestore
我有一个调用onWrite的触发器。我需要在firestore中获取导致此触发器的用户的uid。这可能吗?
onWrite
uid
exports.onEventsWrite = functions.firestore .document('events/{eventId}') .onWrite(event => { // Need the uid }