Closed jbrockerville closed 4 years ago
What do you think would fit the principle of least surprise when it comes to until values for an unrestricted hold, given that we have some users who may rely on the +1 hour default?
until=0 until=forever until=anything-not-matching DD:DD ?
I created PR#99 with an example of until=forever. If that branch solves your problem then I'll merge it.
Fair point about not breaking it for other users possibly relying the default behaviour. Just tried it out. Works fine. Good solution. Ship it! Thanks!
As written, there is no way set an indefinite hold via the API. If you leave
until
out of the url, e.g.Then it simply defaults to one hour in the future. That's ok. However, if you can set
otmr = {}
, then an indefinite hold is set. I did this locally... infinitude(158)