Skip to content

Commit

Permalink
Merge pull request #33 from yjszk/master
Browse files Browse the repository at this point in the history
bug fix #32
  • Loading branch information
aflanagan authored Apr 18, 2024
2 parents 30d26b5 + c9f791c commit 3c3601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cronitor/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def ping(self, **params):
return self._req.get(url=self._ping_api_url(), params=self._clean_params(params), timeout=5, headers=self._headers)

def ok(self):
self.ping(state=cronitor.Event.ok)
self.ping(state=cronitor.State.OK)

def pause(self, hours):
if not self.api_key:
Expand Down

0 comments on commit 3c3601d

Please sign in to comment.