buildstring

This commit is contained in:
nelle 2024-09-21 16:22:53 -06:00
parent 9d9fc3fbf2
commit 05f92c6b59

View file

@ -42,7 +42,12 @@ suspend fun ntfyMsg(
click: String,
) {
val message: HttpResponse =
client.post("https://" + endpoint) {
client.post(
buildString {
append("https://")
append(endpoint)
},
) {
headers {
append("Title", title)
append("Attach", attach)