Fix Ninja client configuration parsing
This commit is contained in:
@@ -8,6 +8,9 @@ internal static class JsonOptions
|
||||
public static readonly JsonSerializerOptions Default = new()
|
||||
{
|
||||
WriteIndented = true,
|
||||
// Client configuration is also written by PowerShell/NinjaOne scripts.
|
||||
// Accept their conventional camelCase names (for example n8nWebhookUrl).
|
||||
PropertyNameCaseInsensitive = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user