Skip to content

Commit

Permalink
🐞 fix:尝试修复视频通话连线问题
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackishGreen33 committed Jul 12, 2024
1 parent 6c58ba2 commit e79ad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/livekit/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ export async function GET(req: NextRequest) {

at.addGrant({ room, roomJoin: true, canPublish: true, canSubscribe: true });

return NextResponse.json({ token: at.toJwt() });
return NextResponse.json({ token: await at.toJwt() });
}

0 comments on commit e79ad16

Please sign in to comment.