Skip to content

Commit 8e56eba

Browse files
committed
fix: Format for Canonn whitelisted event was changed
1 parent e5fa282 commit 8e56eba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Journal-Limpet/Jobs/CanonnRDUserUploader.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,9 @@ public class CanonnEvent
444444
[JsonPropertyName("description")]
445445
public string Description { get; set; }
446446
[JsonPropertyName("definition")]
447-
public CanonnEventDefinition Definition { get; set; }
447+
public string DefinitionJson { get; set; }
448+
[JsonIgnore]
449+
public CanonnEventDefinition Definition { get { return JsonSerializer.Deserialize<CanonnEventDefinition>(DefinitionJson); } }
448450
}
449451

450452
public class CanonnEventDefinition : EliteBaseJsonObject

0 commit comments

Comments
 (0)