cronitorio / cronitor-python

Python client for Cronitor
MIT License
73 stars 9 forks source link

changed 'method' argument in failed method #4

Closed c2rad closed 4 years ago

c2rad commented 5 years ago

changed 'method' argument in failed method (passed in call to self.__ping) from 'failed' to 'fail'

Per the ping api docs (https://cronitor.io/docs/ping-api), the endpoint for failure is 'fail', not 'failed'.

from the documentation:

/fail | Report task has failed.