Skip to content

Commit

Permalink
Serialization error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lacasa committed Jan 14, 2024
1 parent 7195f01 commit 25ca778
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mastonet/TimelineWebSocketStreaming.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ public override async Task Start()

internal class TimelineMessage
{
[JsonPropertyName("event")]
public string Event { get; set; } = default!;

[JsonPropertyName("payload")]
public string Payload { get; set; } = default!;
}

Expand Down

0 comments on commit 25ca778

Please sign in to comment.