Skip to content

Commit 0fdedc9

Browse files
Align curated assets model with XUMM-SDK (#34)
1 parent 3281f49 commit 0fdedc9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/XUMM.NET.SDK/Models/Misc/XummCuratedAssetsDetails.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public class XummCuratedAssetsDetails
1212
public string Name { get; set; } = default!;
1313

1414
[JsonPropertyName("domain")]
15-
public string Domain { get; set; } = default!;
15+
public string? Domain { get; set; }
1616

1717
[JsonPropertyName("avatar")]
18-
public string Avatar { get; set; } = default!;
18+
public string? Avatar { get; set; }
1919

2020
[JsonPropertyName("shortlist")]
2121
public int Shortlist { get; set; }

src/XUMM.NET.SDK/Models/Misc/XummCuratedAssetsDetailsCurrency.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class XummCuratedAssetsDetailsCurrency
2626
public string Name { get; set; } = default!;
2727

2828
[JsonPropertyName("avatar")]
29-
public string Avatar { get; set; } = default!;
29+
public string? Avatar { get; set; }
3030

3131
[JsonPropertyName("shortlist")]
3232
public int Shortlist { get; set; }

0 commit comments

Comments
 (0)