Skip to content

Commit 070b953

Browse files
authored
I forgot to initialize the Roles. (#6635)
2 parents a248a71 + ea688ff commit 070b953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/sdk-gen/csharp/autogen/src/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public Dictionary<string, string> RequestHeaders
317317
/// instead use Permissions. This list should only be used for UI purposes.
318318
/// </summary>
319319
[JsonConverter(typeof(XenRefListConverter<Role>))]
320-
public List<Role> Roles { get; private set; }
320+
public List<Role> Roles { get; private set; } = new List<Role>();
321321

322322
#endregion
323323

0 commit comments

Comments
 (0)