Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highest priority doesn't work #17

Open
fedxyz opened this issue May 2, 2023 · 2 comments
Open

Highest priority doesn't work #17

fedxyz opened this issue May 2, 2023 · 2 comments

Comments

@fedxyz
Copy link

fedxyz commented May 2, 2023

Hi,

the highest priority level doesn't work, it gives me Bad Request.

Trying with curl to send a notification with highest priority it seems that using this level requires an expire value too, here is the response that I get from curl:

{
  "expire": "must be supplied with priority=2",
  "errors": [
    "expire must be supplied with priority=2"
  ],
  "status": 0,
  "request": <some uuid>
}

From pushover api:

To send an emergency-priority notification, the priority parameter must be set to 2 and the retry and expire parameters must be supplied.

Thanks for the help.

@tjharman
Copy link
Contributor

I just noticed this too.

@tjharman
Copy link
Contributor

@fedxyz I have just fixed this in my version, which I've sent in a pull request for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants