Browse Source

Apparently the response can be empty

pull/5/head
Ionite 1 year ago
parent
commit
cb3c9fcc15
No known key found for this signature in database
  1. 4
      StabilityMatrix/Models/Api/CivitModelsResponse.cs

4
StabilityMatrix/Models/Api/CivitModelsResponse.cs

@ -5,8 +5,8 @@ namespace StabilityMatrix.Models.Api;
public class CivitModelsResponse
{
[JsonPropertyName("items")]
public CivitModel[] Items { get; set; }
public CivitModel[]? Items { get; set; }
[JsonPropertyName("metadata")]
public CivitMetadata Metadata { get; set; }
public CivitMetadata? Metadata { get; set; }
}

Loading…
Cancel
Save