Skip to content

Commit a89ec4e

Browse files
committed
Don't block /match if read-only (already handled by other config options)
1 parent 712ce1c commit a89ec4e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Refresh.Interfaces.Game/Endpoints/MatchingEndpoints.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ public Response Match(
8181
DataContext dataContext,
8282
GameServerConfig gameServerConfig)
8383
{
84-
if (dataContext.User!.IsWriteBlocked(gameServerConfig))
85-
return Unauthorized;
86-
8784
(string method, string rawJsonBody) = MatchService.ExtractMethodAndBodyFromJson(body);
8885

8986
string jsonBody = FixupLocationData(rawJsonBody);

0 commit comments

Comments
 (0)