+
diff --git a/src/backend.ts b/src/backend.ts
index e1e5f72..ab374f1 100644
--- a/src/backend.ts
+++ b/src/backend.ts
@@ -54,8 +54,6 @@ interface WireConfiguration {
feedback_timeout: number // seconds
}
-const delay = () => new Promise(resolve => setTimeout(resolve, 1000))
-
export async function fetchConfiguration(): Promise
{
const result = await api.get("configuration").json()
@@ -71,7 +69,7 @@ export async function updateConfiguration(data: Configuration) {
feedback_timeout: data.feedbackTimeout.total("seconds")
}
- await api.post("configuration", { json: wireData })
+ await api.put("configuration", { json: wireData })
}
export async function fetchBrewingEvents(): Promise {
diff --git a/src/components/specific/TypeOfTeaForm.vue b/src/components/specific/TypeOfTeaForm.vue
index bff70fc..ff5c6eb 100644
--- a/src/components/specific/TypeOfTeaForm.vue
+++ b/src/components/specific/TypeOfTeaForm.vue
@@ -1,10 +1,15 @@
-