Build PSProxmox.dll and fix compilation issues

This commit is contained in:
Alphaeus Mote
2025-04-28 14:35:22 -04:00
parent 2385442c83
commit 7889ba2f97
9 changed files with 244 additions and 12 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace PSProxmox.Models
{
@@ -30,6 +31,6 @@ namespace PSProxmox.Models
/// Gets the role's privileges as a list.
/// </summary>
[JsonIgnore]
public List<string> PrivilegesList => Privileges?.Split(',') ?? new List<string>();
public List<string> PrivilegesList => Privileges?.Split(',').ToList() ?? new List<string>();
}
}