From 982f25f4811227c9e163b765bde507a424cd0adb Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 5 Sep 2023 15:39:56 +0300 Subject: [PATCH] UI: Fix save widget type method. --- ui-ngx/src/app/core/http/widget.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/core/http/widget.service.ts b/ui-ngx/src/app/core/http/widget.service.ts index 86a3a2d48d..6affb01efe 100644 --- a/ui-ngx/src/app/core/http/widget.service.ts +++ b/ui-ngx/src/app/core/http/widget.service.ts @@ -207,7 +207,7 @@ export class WidgetService { public saveWidgetType(widgetTypeDetails: WidgetTypeDetails, config?: RequestConfig): Observable { - return this.http.post(`/api/widgetType`, + return this.http.post(`/api/widgetType`, widgetTypeDetails, defaultHttpOptionsFromConfig(config)); }