add missing database columns

pull/1/head
sigonasr2 3 years ago
parent ed68984f55
commit 2d52e10408
  1. 6
      server.js

@ -93,13 +93,13 @@ const ENDPOINTDATA=[
{ {
endpoint:"weapon_existence_data", endpoint:"weapon_existence_data",
requiredfields:["weapon_type_id","weapon_id"], requiredfields:["weapon_type_id","weapon_id"],
optionalfields:["popularity","editors_choice"], optionalfields:["popularity","editors_choice","icon","special_name"],
excludedfields:[] //Fields to not output in GET. excludedfields:[] //Fields to not output in GET.
}, },
{ {
endpoint:"weapon_type", endpoint:"weapon_type",
requiredfields:["name","dmg_type"], requiredfields:["name","dmg_type"],
optionalfields:["icon"], optionalfields:["icon","shorthand"],
excludedfields:[] //Fields to not output in GET. excludedfields:[] //Fields to not output in GET.
}, },
{ {
@ -117,7 +117,7 @@ const ENDPOINTDATA=[
{ {
endpoint:"potential", endpoint:"potential",
requiredfields:["name"], requiredfields:["name"],
optionalfields:["icon"], optionalfields:["icon","description"]
excludedfields:[] //Fields to not output in GET. excludedfields:[] //Fields to not output in GET.
}, },
{ {

Loading…
Cancel
Save