### fix: 33 verbessere API-Antwort-Handling und Versionsmarker
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 5m48s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 4m13s

- **NennungRemoteRepository:** Handling für leeren JSON-Body angepasst.
- **MailController:** JSON-Antwort mit Erfolgsstatus und ID hinzugefügt.
- **WebMainScreen:** Versionsmarker auf `v2026-04-23.33 - JSON RESPONSE FIX` aktualisiert.
This commit is contained in:
2026-04-23 16:59:05 +02:00
parent 23c3e40390
commit bd06efe05d
4 changed files with 16 additions and 4 deletions
@@ -101,8 +101,8 @@ class NennungRemoteRepository(private val client: HttpClient) {
}
println("Antwort erhalten: ${response.status.value}")
val responseText = try { response.body<String>() } catch (e: Exception) { "Kein Body" }
println("Antwort Body: $responseText")
val responseText = try { response.body<String>() } catch (e: Exception) { "" }
println("Antwort Body: '$responseText'")
if (response.status.isSuccess()) {
Result.success(Unit)