Now not accepting posts from bot accounts - improved error handling

This commit is contained in:
2024-11-07 00:12:10 +03:30
parent 79deb67848
commit 972167634f
3 changed files with 14 additions and 6 deletions

View File

@@ -26,6 +26,8 @@ namespace mstdnCats.Models
public required string Acct { get; set; }
[JsonPropertyName("display_name")]
public required string DisplayName { get; set; }
[JsonPropertyName("bot")]
public required Boolean IsBot { get; set; }
[JsonPropertyName("url")]
public required string Url { get; set; }
[JsonPropertyName("avatar_static")]