From 2d52e10408cc13fc5cde66245e6a18231e8ddfc8 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 9 Aug 2021 05:47:59 -0500 Subject: [PATCH] add missing database columns --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 5250f29..b91bdc8 100644 --- a/server.js +++ b/server.js @@ -93,13 +93,13 @@ const ENDPOINTDATA=[ { endpoint:"weapon_existence_data", requiredfields:["weapon_type_id","weapon_id"], - optionalfields:["popularity","editors_choice"], + optionalfields:["popularity","editors_choice","icon","special_name"], excludedfields:[] //Fields to not output in GET. }, { endpoint:"weapon_type", requiredfields:["name","dmg_type"], - optionalfields:["icon"], + optionalfields:["icon","shorthand"], excludedfields:[] //Fields to not output in GET. }, { @@ -117,7 +117,7 @@ const ENDPOINTDATA=[ { endpoint:"potential", requiredfields:["name"], - optionalfields:["icon"], + optionalfields:["icon","description"] excludedfields:[] //Fields to not output in GET. }, {