|
|
@ -154,7 +154,7 @@ class WebPushService(): |
|
|
|
) |
|
|
|
# "because sometimes that's what I had to do to make it work!" - Matthew |
|
|
|
time.sleep(1) |
|
|
|
return {"success": result["status_code"] == 201, "message": result.text, "result": result} |
|
|
|
return {"success": result.status_code == 201, "message": result.text, "result": result} |
|
|
|
|
|
|
|
except WebPushException as ex: |
|
|
|
now = datetime.datetime.now().isoformat() |
|
|
|