Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The data is null when getting a domain bid via GET /v1/auction/getBids with ".ton" domain names #33

Closed
ulanzhusupov opened this issue Sep 18, 2022 · 1 comment

Comments

@ulanzhusupov
Copy link

ulanzhusupov commented Sep 18, 2022

Bug Type

Functional

Reproduction steps

The server respond data: null, when getting a domain bid via GET /v1/auction/getBids with "cheapflights.ton" value, but respond right data without .ton value "cheapflights".

Preconditions:

  1. Send a GET /v1/auction/getCurrent
  2. Copy domain name

Steps:

  1. Enter the copied domain name in the domain parameter value with ".ton" at the end
  2. Send a GET /v1/auction/getBids request with domain parameter

Actual result

Return 200 OK with data: null
{ "data": null }

Expected result

Returns 200 OK with the data:
{ "data": [ { "bidderA": "bidderA", "success": true, "txTime": 1660050553, "value": 1660050553 } ] }

Suggested Severity

High

Device

Curl: curl -X 'GET'
'https://tonapi.io/v1/auction/getBids?domain=cheapflights.ton'
-H 'accept: application/json'

Request url: https://tonapi.io/v1/auction/getBids?domain=cheapflights.ton

Additional Context

No response

@ulanzhusupov ulanzhusupov changed the title The data is null when getting a domain bid via GET /v1/auction/getBids The data is null when getting a domain bid via GET /v1/auction/getBids with ".ton" domain names Sep 18, 2022
@mr-tron
Copy link
Collaborator

mr-tron commented Sep 20, 2022

Fixed. Will be in the next release.

@mr-tron mr-tron closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants