Skip to content

Commit

Permalink
Fix syntax error in request headers definition
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca authored Jan 25, 2025
1 parent 9f55c72 commit 6a91bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/primer/alpha/toggle_switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6a91bd1

Please sign in to comment.