(fix) Umbau zu SCS

This commit is contained in:
stefan
2025-07-21 12:10:55 +02:00
parent 62b5e71427
commit 77953c18f6
2 changed files with 3 additions and 28 deletions
+3 -3
View File
@@ -127,10 +127,10 @@ val data = call.safeReceive<Artikel>() ?: return
2. **Update Route Paths**:
```kotlin
// Before
route("/api/artikel") { ... }
route("/api/artikel") { '...' }
// After
route("/artikel") { ... } // /api prefix handled by RouteConfiguration
route("/artikel") { '...' } // /api prefix handled by RouteConfiguration
```
3. **Use Response Utilities**:
@@ -145,7 +145,7 @@ val data = call.safeReceive<Artikel>() ?: return
4. **Use Route Utilities**:
```kotlin
// Before
val id = call.parameters["id"] ?: return@get call.respond(...)
val id = call.parameters["id"] ?: return@get call.respond('...')
val uuid = uuidFrom(id)
// After