From e6fd92c42bb2d5d39c85731b9290cf4fdc1e0564 Mon Sep 17 00:00:00 2001 From: raghavaggarwal2308 Date: Tue, 23 Jul 2024 20:30:41 +0530 Subject: [PATCH] Fix lint errors --- server/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/command.go b/server/command.go index b3a342294..c8eb954bf 100644 --- a/server/command.go +++ b/server/command.go @@ -532,6 +532,7 @@ func (p *Plugin) getUniqueTeamsWithWelcomeMsgSlice(teamsWithConfigWelcomeMsg map } teamsWithKVWelcomeKeys = append(teamsWithKVWelcomeKeys, team.Name) } + allTeamNames := slices.Concat(teamsWithConfigWelcomeKeys, teamsWithKVWelcomeKeys) // Leverage the unique priniciple of keys in a map to store unique values as they are encountered