Skip to content

Public treasuries with governments entity does not have type governments as a return value in the PublicTreasuryGetCoinIDResponse interface #59

@SofiaCFR

Description

@SofiaCFR

I am using this package in my reactjs/typescript project. When I call /{entity}/public_treasury/{coin_id} with entity 'governments' the object returns an object that has a governments array. However, the type is only set to return companies so I am getting typescript errors. Please see images below.

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions