From ed668781c2f8cc1af476fc861201ca6c30625c55 Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Mon, 15 Jul 2024 15:25:39 -0700 Subject: [PATCH 1/2] Use consistent json field name for room configuration grant --- auth/grants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/grants.go b/auth/grants.go index 6a8a43308..b7fb58a05 100644 --- a/auth/grants.go +++ b/auth/grants.go @@ -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 From c5fe15059e81233df81794cc2e5b9e9389c6e09f Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Mon, 15 Jul 2024 15:37:09 -0700 Subject: [PATCH 2/2] Create thick-lamps-tease.md --- .changeset/thick-lamps-tease.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/thick-lamps-tease.md diff --git a/.changeset/thick-lamps-tease.md b/.changeset/thick-lamps-tease.md new file mode 100644 index 000000000..23e788b77 --- /dev/null +++ b/.changeset/thick-lamps-tease.md @@ -0,0 +1,5 @@ +--- +"github.com/livekit/protocol": patch +--- + +Use consistent json field name for room configuration grant