Skip to content

Commit 9956f20

Browse files
committed
Remove sorting components
1 parent d55ff29 commit 9956f20

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: handlers/meta/whatsapp/templates.go

-4
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,5 @@ func GetTemplatePayload(templating MsgTemplating) *Template {
102102

103103
}
104104

105-
sort.SliceStable(template.Components, func(i, j int) bool {
106-
return template.Components[i].Index < template.Components[j].Index
107-
})
108-
109105
return template
110106
}

0 commit comments

Comments
 (0)