We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fa5f2 commit cbdccbbCopy full SHA for cbdccbb
src/main/kotlin/com/ctrlhub/core/datacapture/FormSchemasRouter.kt
@@ -53,7 +53,7 @@ class FormSchemasRouter(httpClient: HttpClient) : Router(httpClient) {
53
}
54
55
private fun instantiateFormSchemaFromJson(json: JsonObject): FormSchema {
56
- val id = json["id"]?.jsonPrimitive?.content
+ val id = json["data"]?.jsonObject["id"]?.jsonPrimitive?.content
57
?: throw IllegalStateException("Missing id")
58
59
val rawContent = json.toString()
0 commit comments