Remove 12h from poll interval
This commit is contained in:
parent
474ab18090
commit
14946b64e6
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
package io.heckel.ntfy.data
|
||||
|
||||
fun topicUrl(baseUrl: String, topic: String) = "${baseUrl}/${topic}"
|
||||
fun topicUrlJsonPoll(baseUrl: String, topic: String) = "${topicUrl(baseUrl, topic)}/json?poll=1&since=12h"
|
||||
fun topicUrlJsonPoll(baseUrl: String, topic: String) = "${topicUrl(baseUrl, topic)}/json?poll=1"
|
||||
fun topicShortUrl(baseUrl: String, topic: String) =
|
||||
topicUrl(baseUrl, topic)
|
||||
.replace("http://", "")
|
||||
|
|
Loading…
Reference in a new issue