From 6a91bd1179a570d2bfa7634a0fa353844e3b5aad Mon Sep 17 00:00:00 2001 From: Marie Lucca <40550942+francinelucca@users.noreply.github.com> Date: Fri, 24 Jan 2025 20:26:10 -0500 Subject: [PATCH] Fix syntax error in request headers definition --- app/components/primer/alpha/toggle_switch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/primer/alpha/toggle_switch.ts b/app/components/primer/alpha/toggle_switch.ts index 0dcccf933c..bd54172817 100644 --- a/app/components/primer/alpha/toggle_switch.ts +++ b/app/components/primer/alpha/toggle_switch.ts @@ -161,7 +161,7 @@ class ToggleSwitchElement extends HTMLElement { const requestHeaders: {[key: string]: string} = { 'Requested-With': 'XMLHttpRequest', - 'X-Requested-With': 'XMLHttpRequest' + 'X-Requested-With': 'XMLHttpRequest', } if (this.turbo) {