Matthew Nickson 63e408f4f2
Fixed octopush legacy doesn't return error code
The octopush legacy API does not return a HTTP error code and instead
always returns a HTTP 200. This means that no error it thrown even if
something like the parameters are incorrect.
Instead the error code is given in the json response data.
Therefore we must look at the response data and check for the presence
of the "error_code" key in the response data.

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2022-10-01 15:42:34 +01:00
..
2022-04-22 18:42:47 +01:00
2022-04-20 19:56:40 +01:00
2022-07-30 19:48:12 +08:00
2022-01-04 16:01:40 +01:00
2022-07-30 19:48:12 +08:00
2022-04-26 01:26:57 +02:00
2022-08-01 15:42:58 +08:00