diff --git a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Client.kt b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Client.kt index eca7989..4019616 100644 --- a/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Client.kt +++ b/backend/src/main/kotlin/observer/nelle/nelleObserverBackend/plugins/Client.kt @@ -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)