Skip to content

Commit

Permalink
Remove sorting components
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Mar 15, 2024
1 parent d55ff29 commit 9956f20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions handlers/meta/whatsapp/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,5 @@ func GetTemplatePayload(templating MsgTemplating) *Template {

}

sort.SliceStable(template.Components, func(i, j int) bool {
return template.Components[i].Index < template.Components[j].Index
})

return template
}

0 comments on commit 9956f20

Please sign in to comment.