Fix tickets with reservations

This commit is contained in:
Laura Hausmann 2022-03-07 22:35:54 +01:00
parent 2b7b21fd08
commit f8a0df9a88
Signed by: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 8 additions and 8 deletions

View file

@ -173,7 +173,7 @@ namespace bahnplan.web.JSON {
}
public class Reslist {
[J("res", NullValueHandling = NV.Ignore)]
[J("res", NullValueHandling = NV.Ignore), JsonConverter(typeof(SingleOrArrayConverter<Re>))]
public List<Re> Res { get; set; }
}
@ -431,4 +431,4 @@ namespace bahnplan.web.JSON {
throw new NotImplementedException();
}
}
}
}

View file

@ -68,13 +68,13 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="CsvHelper" Version="15.0.8" />
<PackageReference Include="Ical.Net" Version="4.1.11" />
<PackageReference Include="CsvHelper" Version="18.0.0" />
<PackageReference Include="Ical.Net" Version="4.2.0" />
<PackageReference Include="linq2db" Version="2.9.8" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.4" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.4" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="5.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.2" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.2" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
</ItemGroup>