wormhole-explorer/api/internal
agodnic 69ff71d440
Sort the output of `GET /api/v1/vaas` by timestamp (#267)
### Summary

The output of `GET /api/v1/vaas` was not being correctly sorted. This pull request changes the behavior so that the output will be sorted by the `timestamp` field.

Additionally, duplicated code was removed in the VAA code that handles queries.

Also, there was an unused query parameter `sortBy` which was being exposed but not used. Hence it was removed.

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/233
2023-04-28 10:18:07 -03:00
..
build add version endpoint (#118) 2023-02-01 10:46:22 -03:00
cache Add notional cache client (#241) 2023-04-20 17:02:25 -03:00
config Add notional cache client (#241) 2023-04-20 17:02:25 -03:00
db Feature/refactor api (#34) 2022-11-23 09:06:29 -03:00
errors Feature/refactor api (#34) 2022-11-23 09:06:29 -03:00
mongo Add grpc api (#40) 2023-01-03 14:42:29 -03:00
pagination Sort the output of `GET /api/v1/vaas` by timestamp (#267) 2023-04-28 10:18:07 -03:00