From 9d6d1a78419b9804387f4956708263ceb8f4c202 Mon Sep 17 00:00:00 2001 From: Steven Kreitzer Date: Tue, 28 May 2024 11:41:35 -0500 Subject: [PATCH] fix: devin regression (dont babysit and code) (#28) --- internal/unifi/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/unifi/client.go b/internal/unifi/client.go index c5a1255..e452431 100644 --- a/internal/unifi/client.go +++ b/internal/unifi/client.go @@ -194,7 +194,7 @@ func (c *httpClient) DeleteEndpoint(endpoint *endpoint.Endpoint) error { } if _, err = c.doRequest( - http.MethodPost, + http.MethodDelete, FormatUrl(unifiRecordPath, c.Config.Host, c.Config.Site, lookup.ID), nil, ); err != nil {