Skip to content

Commit

Permalink
changed cargo table name
Browse files Browse the repository at this point in the history
unit rarity broken
  • Loading branch information
arghblargh committed Aug 1, 2019
1 parent 8bd3217 commit ed6757d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ app.get('/stats', function (req, res) {
action: 'cargoquery',
format: 'json',
limit: '500',
tables: 'HeroStats',
tables: 'UnitStats',
fields: '_pageName=Name,Lv1HP5,Lv1Atk5,Lv1Spd5,Lv1Def5,Lv1Res5'
}
request.post({ url:'https://feheroes.gamepedia.com/api.php', formData: formData }, function (err, response, body) {
Expand All @@ -45,7 +45,7 @@ app.get('/stats/growths', function (req, res) {
action: 'cargoquery',
format: 'json',
limit: '500',
tables: 'HeroStats',
tables: 'UnitStats',
fields: '_pageName=Name,HPGR3,AtkGR3,SpdGR3,DefGR3,ResGR3'
}
request.post({ url:'https://feheroes.gamepedia.com/api.php', formData: formData }, function (err, response, body) {
Expand Down

0 comments on commit ed6757d

Please sign in to comment.