Skip to content

Use String for delay field#14

Closed
JoeJoeTV wants to merge 3 commits into
shadowylab:masterfrom
JoeJoeTV:delay_use_string
Closed

Use String for delay field#14
JoeJoeTV wants to merge 3 commits into
shadowylab:masterfrom
JoeJoeTV:delay_use_string

Conversation

@JoeJoeTV

Copy link
Copy Markdown
Contributor

This PR changes the delay field to use a String value instead of a u64.

This has two reasons:

  1. Requests using a u64 directly seem to be rejected with a 400 - Bad Request by both https://ntfy.sh and my own ntfy server
  2. The delay option can also be specified as a string (e.g. 30min) for ntfy. This exposes this functionality through the crate.

@yukibtc yukibtc closed this in e3d607f Jun 17, 2025
@yukibtc

yukibtc commented Jun 17, 2025

Copy link
Copy Markdown
Member

Thanks again. Rebased, squashed and merged at e3d607f

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

Successfully merging this pull request may close these issues.

2 participants