smart-village-solutions / smart-village-app-cms

A CMS based on JSON schema of smart-village api
GNU General Public License v3.0
7 stars 2 forks source link

WasteCalendar: Add missing version to receive JSON instead of string #172

Closed marcometz closed 2 years ago

marcometz commented 2 years ago

query { publicJsonFile(name: "wasteTypes") {content} Liefert ein String statt einem JSOn Datensatz ohne den Zusatz der Version

SVA-535

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit e4c70167 and detected 0 issues on this pull request.

View more on Code Climate.

donni106 commented 2 years ago

This is a follow-up for #153. With updated main-server we need to send a version in order to receive proper JSON. Without a version we run into the fallback for old app versions, receiving strings.