From 1020f604e817855b4663fef9063f338711da14c5 Mon Sep 17 00:00:00 2001 From: KuhnChris Date: Sun, 7 May 2023 20:56:20 +0200 Subject: [PATCH] linting --- clientapi/auth/login_test.go | 1 - clientapi/routing/sendevent.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clientapi/auth/login_test.go b/clientapi/auth/login_test.go index 3aa7c537a..2585dbc3f 100644 --- a/clientapi/auth/login_test.go +++ b/clientapi/auth/login_test.go @@ -19,7 +19,6 @@ import ( "net/http" "net/http/httptest" "reflect" - "regexp" "strings" "testing" diff --git a/clientapi/routing/sendevent.go b/clientapi/routing/sendevent.go index 41a3793ae..5b50ad3d4 100644 --- a/clientapi/routing/sendevent.go +++ b/clientapi/routing/sendevent.go @@ -199,7 +199,7 @@ func SendEvent( req.Context(), rsAPI, api.KindNew, []*types.HeaderedEvent{ - &types.HeaderedEvent{PDU: e}, + {PDU: e}, }, device.UserDomain(), domain,