Skip to content

Commit ac337e8

Browse files
await video flags
1 parent ba5a5aa commit ac337e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/token/video.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class VideoTokenGenerator extends TwilioClientCommand {
1616

1717
const accessToken = createToken.call(this);
1818

19-
let room = this.flags['room-name'];
19+
let room = await this.flags['room-name'];
2020
let videoGrant = new Twilio.jwt.AccessToken.VideoGrant({ room });
2121
accessToken.addGrant(videoGrant);
2222

0 commit comments

Comments
 (0)