Skip to content

Commit

Permalink
fix: s/strconvStlice/strconvSlice
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoulard committed Apr 24, 2024
1 parent b80134f commit 8c12caf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/channel/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"
"strconv"

strconvStlice "github.com/tomMoulard/sendbird-go/pkg/utils/strconv"
strconvSlice "github.com/tomMoulard/sendbird-go/pkg/utils/strconv"
)

// https://sendbird.com/docs/chat/platform-api/v3/channel/listing-channels-in-an-application/list-group-channels
Expand Down Expand Up @@ -311,7 +311,7 @@ func ListChannelRequestToMap(lcr ListChannelRequest) map[string]string {
}

if len(lcr.ChannelURLs) > 0 {
m["channel_urls"] = strconvStlice.FormatSliceToCSV(lcr.ChannelURLs)
m["channel_urls"] = strconvSlice.FormatSliceToCSV(lcr.ChannelURLs)
}

if lcr.Name != "" {
Expand Down Expand Up @@ -351,7 +351,7 @@ func ListChannelRequestToMap(lcr ListChannelRequest) map[string]string {
}

if len(lcr.MetadataValues) > 0 {
m["metadata_values"] = strconvStlice.FormatSliceToCSV(lcr.MetadataValues)
m["metadata_values"] = strconvSlice.FormatSliceToCSV(lcr.MetadataValues)
}

if lcr.MetadataValueStartswith != "" {
Expand All @@ -363,7 +363,7 @@ func ListChannelRequestToMap(lcr ListChannelRequest) map[string]string {
}

if len(lcr.MetacounterValues) > 0 {
m["metacounter_values"] = strconvStlice.FormatSliceToCSV(lcr.MetacounterValues)
m["metacounter_values"] = strconvSlice.FormatSliceToCSV(lcr.MetacounterValues)
}

if lcr.MetacounterValuesGT != "" {
Expand Down

0 comments on commit 8c12caf

Please sign in to comment.