Author Topic: Bug with api|get_points  (Read 1024 times)

0 Members and 1 Guest are viewing this topic.

Mappo

  • Youngling
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Bug with api|get_points
« on: October 14, 2016, 03:22:59 PM »
Hey guys,
Bug:
Via websocket I use the command api|get_points|:user

The documentation tells me that an example response could look like this:

{
    "function": "get_points",
    "param": "expertsonline",
    "msg": "720.00"
}

Problem is, the msg of the response I receive is: "msg": "720,00"

My question: Is this a localization (the deepbot I am connected to is in the eu) or is it a deepbot bug or wrongly written in the api?
Or do I have to consider both cases (I am connected via Java and Double.parseDouble('720,00') results in an error). Replacing the "," is no problem, but it seems like a bug to me.

Greets Mappo