File tree Expand file tree Collapse file tree
src/CmdPalNotionExtension/Notion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ internal sealed record StringFormula(
2323) : Formula ;
2424
2525internal sealed record DateFormula (
26- [ property: JsonPropertyName ( "date" ) ] DateTime ? Date
26+ [ property: JsonPropertyName ( "date" ) ] DateType ? Date
2727) : Formula ;
2828
2929internal sealed record BooleanFormula (
Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections . Generic ;
32using System . Diagnostics ;
43using System . Net . Http ;
54using System . Net . Http . Headers ;
@@ -58,7 +57,7 @@ private async Task<T> SendAsync<T>(HttpRequestMessage request)
5857
5958 response . EnsureSuccessStatusCode ( ) ;
6059
61- return await response . Content . ReadFromJsonAsync < T > ( ) ;
60+ return await response . Content . ReadFromJsonAsync < T > ( _jsonSerializerOptions ) ;
6261 }
6362 catch ( Exception ex )
6463 {
You can’t perform that action at this time.
0 commit comments