Skip to content

Commit 034b43c

Browse files
Use consistent json field name for room configuration grant (#762)
1 parent 32175c1 commit 034b43c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/thick-lamps-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github.com/livekit/protocol": patch
3+
---
4+
5+
Use consistent json field name for room configuration grant

auth/grants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type VideoGrant struct {
3434
RoomJoin bool `json:"roomJoin,omitempty"`
3535
Room string `json:"room,omitempty"`
3636
// Name of the room configuration to apply to the room if created
37-
RoomConfiguration string `json:"room_configuration,omitempty"`
37+
RoomConfiguration string `json:"roomConfiguration,omitempty"`
3838

3939
// permissions within a room, if none of the permissions are set explicitly
4040
// it will be granted with all publish and subscribe permissions

0 commit comments

Comments
 (0)