diff --git a/src/main/kotlin/network/NewsService.kt b/src/main/kotlin/network/NewsService.kt index 31c5fc3..dc766d8 100644 --- a/src/main/kotlin/network/NewsService.kt +++ b/src/main/kotlin/network/NewsService.kt @@ -156,7 +156,7 @@ object NewsService { val command = if (isWindows) { // 윈도우용: 큰따옴표 이스케이프에 주의해야 합니다. - val jsonBody = "{\"id\":\"$chatId\",\"message\":\"$encodedMessage\"}" + val jsonBody = "{\"id\":\"$chatId\",\"message\":\"$message\"}" listOf("cmd", "/c", "curl -s -X POST $url -H \"Content-Type: application/json\" -d \"$jsonBody\"") } else { // 맥/리눅스용: 홑따옴표를 사용하여 JSON 구조를 보호합니다.