Added Faction information in the POST

master
Celso González 2022-06-03 13:07:33 +02:00
parent cf3c355b4d
commit 3e66a998da
1 changed files with 3 additions and 3 deletions

View File

@ -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);
});