Skip to content

/tokens/accounts returns null when no accounts are in the network #345

@dechdev

Description

@dechdev

When sending a GET request to /tokens/accounts on a firefly network with no accounts, the response is null rather than an expected response of []

Steps to reproduce:

  1. Start-up firefly org with no accounts in DB
  2. Send GET request to /tokens/accounts
  3. Response is null. Expected response is []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions