Update index.ts

This commit is contained in:
talksik
2022-06-01 20:57:47 -05:00
parent a6cca6877c
commit 8e02c05332
+1 -1
View File
@@ -37,7 +37,7 @@ export const getStreamToken = functions.https.onCall((data, context) => {
// Create an access token which we will sign and return to the client,
// containing the grant we just created
const token = new AccessToken(twilioAccountSid, twilioApiKey, twilioApiSecret, {
identity: identity,
identity,
});
token.addGrant(videoGrant);