Skip to content

Commit a93614d

Browse files
committed
Rename pool_stats option to pool_stat
1 parent fc47561 commit a93614d

File tree

1 file changed

+2
-2
lines changed
  • cardano-db-sync/src/Cardano/DbSync/Config

1 file changed

+2
-2
lines changed

cardano-db-sync/src/Cardano/DbSync/Config/Types.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ instance FromJSON SyncInsertOptions where
417417
<*> obj .:? "plutus" .!= sioPlutus def
418418
<*> obj .:? "governance" .!= sioGovernance def
419419
<*> obj .:? "offchain_pool_data" .!= sioOffchainPoolData def
420-
<*> obj .:? "pool_stats" .!= sioPoolStats def
420+
<*> obj .:? "pool_stat" .!= sioPoolStats def
421421
<*> obj .:? "json_type" .!= sioJsonType def
422422
<*> obj .:? "remove_jsonb_from_schema" .!= sioRemoveJsonbFromSchema def
423423

@@ -433,7 +433,7 @@ instance ToJSON SyncInsertOptions where
433433
, "plutus" .= sioPlutus
434434
, "governance" .= sioGovernance
435435
, "offchain_pool_data" .= sioOffchainPoolData
436-
, "pool_stats" .= sioPoolStats
436+
, "pool_stat" .= sioPoolStats
437437
, "json_type" .= sioJsonType
438438
, "remove_jsonb_from_schema" .= sioRemoveJsonbFromSchema
439439
]

0 commit comments

Comments
 (0)