From 92de2855d39c94cc1b7d78955c81463e1edcc72f Mon Sep 17 00:00:00 2001 From: Acha Bill <57879913+acha-bill@users.noreply.github.com> Date: Wed, 15 May 2024 14:56:42 +0100 Subject: [PATCH] fix: apiservice (#4673) --- pkg/node/node.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/node/node.go b/pkg/node/node.go index e4d070886f4..fa3f3f861b5 100644 --- a/pkg/node/node.go +++ b/pkg/node/node.go @@ -1156,9 +1156,8 @@ func NewBee( apiService.MountAPI() apiService.MountDebug() - debugService.SetP2P(p2ps) - debugService.SetSwarmAddress(&swarmAddress) - debugService.SetRedistributionAgent(agent) + apiService.SetSwarmAddress(&swarmAddress) + apiService.SetRedistributionAgent(agent) } if o.DebugAPIAddr != "" {