Skip to content

Empty string in `/result` payload instead of a number

Vaclav Sraier requested to merge result_request_types into master

I added explicit typing to /result request payload creation. I followed schema published for example here.

What changed:

  • Function get_time no longer retuns string, but an int. It worked even with the string, but a number is expected.
  • Some fields from payload were removed because they are not needed

The way I added types is not exactly nice, but it's there as an attempt to fix an invalid data payload send to the server. Log from the server says, that once in a while, in this particular request, it sends an empty string instead of a number. Sadly, I don't know which field causes it and this might catch it.

implements #7 (closed)

implements #8 (closed)

Edited by Martin Prudek

Merge request reports