diff --git a/PiwigoDotnet/Piwigo.Client/Contract/PiwigoResponse.cs b/PiwigoDotnet/Piwigo.Client/Contract/PiwigoResponse.cs index 772938c..9605144 100644 --- a/PiwigoDotnet/Piwigo.Client/Contract/PiwigoResponse.cs +++ b/PiwigoDotnet/Piwigo.Client/Contract/PiwigoResponse.cs @@ -2,7 +2,7 @@ using Newtonsoft.Json; namespace Piwigo.Client.Contract; -internal class PiwigoResponse +internal class PiwigoResponse { [JsonProperty("stat")] public string? Status { get; init; } @@ -12,7 +12,10 @@ internal class PiwigoResponse [JsonProperty("message")] public string? Message { get; init; } +} +internal class PiwigoResponse : PiwigoResponse +{ [JsonProperty("result")] public T Result { get; init; } = default!; } \ No newline at end of file