yeg-relief / issue-tracker

This repo tracks issues that require features in multiple tiers of the YouCanBenefit application.
1 stars 0 forks source link

Updating numeric values fails #32

Closed j-rewerts closed 6 years ago

j-rewerts commented 6 years ago

I attempted to update a query for the leisure access pass.

{
  "query": {
    "guid": "NMh2Fu1IG5XnpOf5b6zu2t1Hh6",
    "id": "FYOK6fk2sF4OZ1fx7I2G7W88uA",
    "conditions": [
      {
        "key": {
          "name": "grossincome",
          "type": "number"
        },
        "value": 31186,
        "type": null,
        "qualifier": "lessThanOrEqual"
      }
    ]
  },
  "guid": "NMh2Fu1IG5XnpOf5b6zu2t1Hh6"
}

That was sent to the server, but I had actually put in a value of 31000. The value never makes it to the backend.