diff --git a/packages/builder/src/components/integration/KeyValueBuilder.svelte b/packages/builder/src/components/integration/KeyValueBuilder.svelte
index 92a66f8813..7b4962edcb 100644
--- a/packages/builder/src/components/integration/KeyValueBuilder.svelte
+++ b/packages/builder/src/components/integration/KeyValueBuilder.svelte
@@ -23,8 +23,8 @@
{#each fields as field, idx}
-
-
+
+
deleteEntry(idx)} />
{/each}
@@ -36,6 +36,7 @@
grid-template-columns: 1fr 1fr 20px;
grid-gap: var(--spacing-m);
align-items: center;
+ margin-bottom: var(--spacing-m);
}
.ri-close-circle-fill,
diff --git a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
index 3de8d317ad..972bc2c373 100644
--- a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
+++ b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte
@@ -19,11 +19,6 @@
$: fieldKeys = Object.keys(fields)
$: schemaKeys = Object.keys(schema.fields)
- $: console.log({
- fields,
- schema
- })
-
function updateCustomFields({ detail }) {
fields.customData = detail.value
}
@@ -34,15 +29,19 @@
{#each schemaKeys as field}
{#if schema.fields[field]?.type === "object"}
-
-
+
+
+
+
{:else if schema.fields[field]?.type === "json"}
-
-
fields[field] = detail.value}
- readOnly={!editable}
- value={fields[field]} />
+
+
+ fields[field] = detail.value}
+ readOnly={!editable}
+ value={fields[field]} />
+
{:else}
{
router.get("/health", ctx => (ctx.status = 200))
-router.post("/yeet", ctx => (ctx.body = ctx.request.body))
-
router.use(authRoutes.routes())
router.use(authRoutes.allowedMethods())