[types] fix value_usd

parent 40576806
...@@ -342,14 +342,14 @@ data APCList = APCList ...@@ -342,14 +342,14 @@ data APCList = APCList
{ value :: Int { value :: Int
, currency :: Text , currency :: Text
, provenance :: Text , provenance :: Text
, value_usd :: Int , value_usd :: Maybe Int
} deriving (Generic, Show, FromJSON) } deriving (Generic, Show, FromJSON)
data APCPaid = APCPaid data APCPaid = APCPaid
{ value :: Int { value :: Int
, currency :: Text , currency :: Text
, provenance :: Text , provenance :: Text
, value_usd :: Int , value_usd :: Maybe Int
} deriving (Generic, Show, FromJSON) } deriving (Generic, Show, FromJSON)
-- | https://docs.openalex.org/api-entities/works/work-object/authorship-object -- | https://docs.openalex.org/api-entities/works/work-object/authorship-object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment