Voice-call: fix Twilio signature ordering

This commit is contained in:
Ghost authored and Peter Steinberger committed 2026-01-19 05:48:06 +00:00
1 parent 88336ef4ea
commit 337dd41ce9
1 file changed
+1 -1
@@ -25,7 +25,7 @@ export function validateTwilioSignature(
// Sort params alphabetically and append key+value
const sortedParams = Array.from(params.entries()).sort((a, b) =>
a[0].localeCompare(b[0]),
a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0,
);
for (const [key, value] of sortedParams) {