canonn-science / CAPIv2-Strapi

Canonn APIv2
https://api.canonn.tech
GNU General Public License v3.0
41 stars 8 forks source link

Systems "primaryStar" JSON field being saved as string and not object #159

Closed derrickmehaffy closed 5 years ago

derrickmehaffy commented 5 years ago

Which Server are you experencing the issue with:

What endpoint(s) are you seeing the error on:

URL: https://api.canonn.tech:2083/systems/1

Describe the problem in as much detail as possible: While using the CAPIv2-Updater to sync data from EDSM to the systems endpoint, the primaryStar field is being saved as as a string containing json data instead of an object

Steps to reproduce the error: N/A

Expected behavior It should be an object not a string

Screenshots

image

image

Additional context Upstream Strapi issue: https://github.com/strapi/strapi/issues/3763

derrickmehaffy commented 5 years ago

fixed in beta.16, need to run a forced update of all bodies and systems to clean up bad values