diff --git a/client/src/common/components/Dropdown/DropdownComponent.jsx b/client/src/common/components/Dropdown/DropdownComponent.jsx index 50bac2ae..56e9c390 100644 --- a/client/src/common/components/Dropdown/DropdownComponent.jsx +++ b/client/src/common/components/Dropdown/DropdownComponent.jsx @@ -203,7 +203,7 @@ function DropdownComponent() { placeholder: t("update.healthchecks_url"), value, buttonText: t("dialog.update"), unsetButton: !value.includes("") ? "Deaktivieren" : undefined, - onClear: () => patchDialog("/config/healthChecksUrl", {value: "https://hc-ping.com/"}) + onClear: () => patchRequest("/config/healthChecksUrl", {value: "https://hc-ping.com/"}) .then(() => showFeedback(t("update.healthchecks_activated"))) }));