From 3f1184cd9ef6269a945b649f69a897251109ffe5 Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Thu, 22 Aug 2024 12:52:16 +0300 Subject: [PATCH] Rename from group to channel Signed-off-by: nyagamunene --- bootstrap/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/service.go b/bootstrap/service.go index d2493cb06a..86b227eb84 100644 --- a/bootstrap/service.go +++ b/bootstrap/service.go @@ -474,7 +474,7 @@ func (bs bootstrapService) ConnectThingHandler(ctx context.Context, channelID, t ch := bs.toIDList(channels) resp, err := bs.tauth.VerifyConnections(ctx, &magistrala.VerifyConnectionsReq{ ThingIds: []string{thingID}, - GroupIds: ch, + ChannelIds: ch, }) if err != nil { return err @@ -497,7 +497,7 @@ func (bs bootstrapService) DisconnectThingHandler(ctx context.Context, channelID ch := bs.toIDList(channels) resp, err := bs.tauth.VerifyConnections(ctx, &magistrala.VerifyConnectionsReq{ ThingIds: []string{thingID}, - GroupIds: ch, + ChannelIds: ch, }) if err != nil { return err