diff --git a/src/resources/universes.ts b/src/resources/universes.ts index dd67e52..c8e7a0c 100644 --- a/src/resources/universes.ts +++ b/src/resources/universes.ts @@ -195,7 +195,7 @@ export class Universes { `/cloud/v2/universes/${universeId}/user-restrictions/${userRestrictionId}`, { method: "PATCH", - body: JSON.stringify(body), + body: JSON.stringify({ gameJoinRestriction: body }), searchParams, }, );