Skip to content

[BUG] Callsign fetching only works with icao callsign #61

@cyteon

Description

@cyteon

Describe the bug
When trying to fetch a IATA callsign "MU1689", it does not return any results.
But when trying to fetch the ICAO callsign "CES1689", it returns the data, along with a property callsign_iata which has the callsign above

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://api.adsbdb.com/v0/callsign/MU1689, notice it not working
  2. Go to https://api.adsbdb.com/v0/callsign/CES1689, notice it working cause its the ICAO instead of IATA

Expected behavior
I expect both IATA and ICAO to work.

Screenshots

IATA callsign does not work:
Image

ICAO callsign works, and has IATA callsign in data
Image

Desktop (please complete the following information):

  • OS: Linux 6.15.9-106.bazzite.fc42.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions