canonn-science / CAPIv2-Updater

Nodejs based tool to update the Canonn API with planetary and stellar data from EDSM
GNU General Public License v3.0
1 stars 0 forks source link

Track updates for all updated fields/scripts #15

Closed coldwhitelight closed 5 years ago

coldwhitelight commented 5 years ago

This is an extension of #8 that renders it obsolete.

The script should track updates of all changed fields, not only system/body, since the updater role has been expanded.

Changes will be tracked in the updateLog field of apiupdates in CAPI. @derrickmehaffy You can safely remove "updatedSystems" and "updatedBodies" from apiupdates model. Everything will be stored in "updateLog".

derrickmehaffy commented 5 years ago

Fixed in: https://github.com/canonn-science/CAPIv2-Strapi/commit/78a550b6bca3687eab928a8e25a9e36878d298d6