adding boilerplate prolly won't work

This commit is contained in:
talksik
2022-06-01 20:42:47 -05:00
parent 36edda9f30
commit a6cca6877c
2 changed files with 81 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export const getStreamToken = functions.https.onCall((data, context) => {
return;
}
const identity = 'user';
const identity = context.auth?.uid ?? 'user';
// Create Video Grant
const videoGrant = new VideoGrant();