Skip to content

Commit

Permalink
[MI-52755] Replaced 'let' with 'const'
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavaggarwal2308 committed Jul 10, 2023
1 parent 2a2bdac commit d5323bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/templates/oauth1/complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
method: "POST",
headers: {'X-CSRF-Token': token},
}).then(res => {
let element = document.body;
const element = document.body;
if(!res.ok) {
element.style.margin = "10px";
} else {
Expand Down

0 comments on commit d5323bb

Please sign in to comment.