From 3e66a998da2fee3afd0b600064ab765b95735e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Celso=20Gonz=C3=A1lez?= Date: Fri, 3 Jun 2022 13:07:33 +0200 Subject: [PATCH] Added Faction information in the POST --- uniques-go.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uniques-go.user.js b/uniques-go.user.js index 7cb42fe..6f35d41 100644 --- a/uniques-go.user.js +++ b/uniques-go.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-uniques-go@mitago // @name IITC plugin: Uniques go data sender // @category Misc -// @version 0.0.3 +// @version 0.0.4 // @namespace https://git.mitago.net/ingress/uniques-go-userscript // @updateURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js // @downloadURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js @@ -26,7 +26,7 @@ function wrapper(plugin_info) { //PLUGIN AUTHORS: writing a plugin outside of the IITC build environment? if so, delete these lines!! //(leaving them in place might break the 'About IITC' page or break update checks) plugin_info.buildName = 'mitago'; - plugin_info.dateTimeVersion = '202200531.045700'; + plugin_info.dateTimeVersion = '202200603.130500'; plugin_info.pluginId = 'uniquesgo'; //END PLUGIN AUTHORS NOTE @@ -80,7 +80,7 @@ function wrapper(plugin_info) { //console.debug(portal); - var obj = { 'guid': portal.options.guid, 'title': portal.options.data.title, 'history': portal.options.data.history._raw, 'position': portal._latlng }; + var obj = { 'guid': portal.options.guid, 'title': portal.options.data.title, 'history': portal.options.data.history._raw, 'position': portal._latlng, 'faction': portal.options.data.team }; window.plugin.uniquesgo.listPortals.push(obj); });