From 8f0584e026114ed7de268a2c2170bf22ab0c9d7b Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 4 Oct 2023 04:57:04 +0000 Subject: [PATCH] Release v0.1.8 --- access_codes_client.go | 2 +- accesscodes/unmanaged_client.go | 2 +- client_sessions_client.go | 2 +- connect_webviews_client.go | 2 +- connected_accounts_client.go | 2 +- devices_client.go | 2 +- noisesensors/noise_thresholds_client.go | 2 +- thermostats/climate_setting_schedules_client.go | 2 +- webhooks_client.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/access_codes_client.go b/access_codes_client.go index d0a89f3..de731a1 100644 --- a/access_codes_client.go +++ b/access_codes_client.go @@ -184,7 +184,7 @@ func (a *accessCodesClient) Delete(ctx context.Context, request *AccessCodesDele ctx, a.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/accesscodes/unmanaged_client.go b/accesscodes/unmanaged_client.go index e213994..ef26c38 100644 --- a/accesscodes/unmanaged_client.go +++ b/accesscodes/unmanaged_client.go @@ -127,7 +127,7 @@ func (u *unmanagedClient) Delete(ctx context.Context, request *UnmanagedDeleteRe ctx, u.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/client_sessions_client.go b/client_sessions_client.go index 4989c73..29b9816 100644 --- a/client_sessions_client.go +++ b/client_sessions_client.go @@ -125,7 +125,7 @@ func (c *clientSessionsClient) Delete(ctx context.Context, request *ClientSessio ctx, c.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/connect_webviews_client.go b/connect_webviews_client.go index 1a833cd..808df14 100644 --- a/connect_webviews_client.go +++ b/connect_webviews_client.go @@ -128,7 +128,7 @@ func (c *connectWebviewsClient) Delete(ctx context.Context, request *ConnectWebv ctx, c.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/connected_accounts_client.go b/connected_accounts_client.go index 5563d5d..27d9fff 100644 --- a/connected_accounts_client.go +++ b/connected_accounts_client.go @@ -74,7 +74,7 @@ func (c *connectedAccountsClient) Delete(ctx context.Context, request *Connected ctx, c.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/devices_client.go b/devices_client.go index 30cff75..84fa0e4 100644 --- a/devices_client.go +++ b/devices_client.go @@ -79,7 +79,7 @@ func (d *devicesClient) Delete(ctx context.Context, request *DevicesDeleteReques ctx, d.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/noisesensors/noise_thresholds_client.go b/noisesensors/noise_thresholds_client.go index 60eca68..5df4fbb 100644 --- a/noisesensors/noise_thresholds_client.go +++ b/noisesensors/noise_thresholds_client.go @@ -127,7 +127,7 @@ func (n *noiseThresholdsClient) Delete(ctx context.Context, request *NoiseThresh ctx, n.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/thermostats/climate_setting_schedules_client.go b/thermostats/climate_setting_schedules_client.go index c9fdd8e..25c195d 100644 --- a/thermostats/climate_setting_schedules_client.go +++ b/thermostats/climate_setting_schedules_client.go @@ -127,7 +127,7 @@ func (c *climateSettingSchedulesClient) Delete(ctx context.Context, request *Cli ctx, c.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false, diff --git a/webhooks_client.go b/webhooks_client.go index 34f8634..3acde40 100644 --- a/webhooks_client.go +++ b/webhooks_client.go @@ -125,7 +125,7 @@ func (w *webhooksClient) Delete(ctx context.Context, request *WebhooksDeleteRequ ctx, w.httpClient, endpointURL, - http.MethodPost, + http.MethodDelete, request, &response, false,