Skip to content

Commit

Permalink
fix IsOnWhatsApp
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp committed Mar 27, 2024
1 parent 6d455b9 commit 7f65a9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/whatsapp/whatsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,7 @@ func (w *whatsApp) IsOnWhatsApp(instance *Instance, phones []string) ([]IsOnWhat
if err != nil {
return nil, err
}

data := make([]IsOnWhatsAppResponse, len(isOnWhatsAppResponse))
data := make([]IsOnWhatsAppResponse, 0, len(isOnWhatsAppResponse))
for _, resp := range isOnWhatsAppResponse {
data = append(data, IsOnWhatsAppResponse{
Query: resp.Query,
Expand Down

0 comments on commit 7f65a9c

Please sign in to comment.