From 85cd5c865467cf41186814f2976d09e3ade7cfcf Mon Sep 17 00:00:00 2001 From: Christian Carlsson Date: Mon, 2 Dec 2024 18:24:02 +0000 Subject: [PATCH] lint --- server/rpc/v1/notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rpc/v1/notification.go b/server/rpc/v1/notification.go index 54a6075e..72af471c 100644 --- a/server/rpc/v1/notification.go +++ b/server/rpc/v1/notification.go @@ -25,7 +25,7 @@ func NewNotificationHandler(r *repo.Repo) apiv1connect.NotificationServiceHandle return ¬ificationHandler{r} } -func (h *notificationHandler) ListNotifications(ctx context.Context, req *connect.Request[v1.ListNotificationsRequest]) (*connect.Response[v1.ListNotificationsResponse], error) { +func (h *notificationHandler) ListNotifications(ctx context.Context, req *connect.Request[v1.ListNotificationsRequest]) (*connect.Response[v1.ListNotificationsResponse], error) { //nolint:cyclop // TODO: Simplify this method. log := xcontext.MustExtractLogger(ctx) userID := xcontext.MustExtractUserID(ctx)