notify-run/notify.run

Python client, `info` path moved to `json`

Opened this issue · 1 comments

gruvw commented

Running notify-run info results in the following error:

Successfully fetched from https://notify.run/RO*****/info but could not decode JSON.

Full exception:
Expecting value: line 1 column 1 (char 0)

This is because (I think) the information endpoint was moved to /json here:
https://github.com/notify-run/notify-run-rs/blob/2847cc52a835c43b47fe8ed13f12dc1edd9e53b5/src/server.rs#L350

Where it is still set to /info in the python client:

endpoint = self.endpoint + '/info'

Will this be fixed?