Skip to content

Commit d7eeaf8

Browse files
committed
do not require 'headers' argument on ConsumeSeatReservation
1 parent 287c6c5 commit d7eeaf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Plugins/Colyseus/Client.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public async Task<T[]> GetAvailableRooms<T> (string roomName = "")
139139
return response.rooms;
140140
}
141141

142-
public async Task<Room<T>> ConsumeSeatReservation<T>(MatchMakeResponse response, Dictionary<string, string> headers)
142+
public async Task<Room<T>> ConsumeSeatReservation<T>(MatchMakeResponse response, Dictionary<string, string> headers = null)
143143
{
144144
var room = new Room<T>(response.room.name)
145145
{

0 commit comments

Comments
 (0)