Skip to content

Commit

Permalink
change request type to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashank Atreya committed Aug 14, 2024
1 parent 7b521ea commit 2a36470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/scripts/ext.dota2WebApi.toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ $( () => {
$.ajax( {
url: mw.util.wikiScript( 'api' ),
dataType: 'json',
type: 'POST',
data: {
action: 'dota2dbapi',
matchid: vars.matchIDs[ i ],
Expand Down Expand Up @@ -474,6 +475,7 @@ $( () => {
$.ajax( {
url: mw.util.wikiScript( 'api' ),
dataType: 'json',
type: 'POST',
data: {
action: 'dota2dbapi',
matchid: vars.matchIDs[ i ],
Expand Down

0 comments on commit 2a36470

Please sign in to comment.