Skip to content

Commit

Permalink
Use consistent json field name for room configuration grant (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben authored Jul 15, 2024
1 parent 32175c1 commit 034b43c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-lamps-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github.com/livekit/protocol": patch
---

Use consistent json field name for room configuration grant
2 changes: 1 addition & 1 deletion auth/grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type VideoGrant struct {
RoomJoin bool `json:"roomJoin,omitempty"`
Room string `json:"room,omitempty"`
// Name of the room configuration to apply to the room if created
RoomConfiguration string `json:"room_configuration,omitempty"`
RoomConfiguration string `json:"roomConfiguration,omitempty"`

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

0 comments on commit 034b43c

Please sign in to comment.