WVV-Crowd-Sourced-Stock-Tracking / Backend

Backend for WhatsLeft
0 stars 0 forks source link

Periods sind null #12

Closed marvinjuette closed 4 years ago

marvinjuette commented 4 years ago

Describe the bug The new backend version doesn't return periods and logo_url

To Reproduce

Expected behavior everythin including periods and logo_url

Actual behavior Returns everything but periods and logo_url

{
    "result": "success",
    "supermarket": [
        {
            "market_id": 123,
            "market_name": "Supermarkt",
            "city": "Musterstadt",
            "zip": "12345",
            "street": "Musterstraße 23",
            "longitude": "12.34234",
            "latitude": "34.830396",
            "distance": "24.161402943487",
            "maps_id": "ChIJAQAAAFCHuEcRqsjerc4eqJ4",
            "icon_url": null,
            "periods": null,
            "products": [
                {
                    "product_id": 3,
                    "product_name": "Brot",
                    "availability": 100,
                    "emoji": "🍞"
                }
            ]
        }
    [
}

Response is shorted to one store.

Backend Version New!

MartinLeiacker commented 4 years ago

The issue with periods was fixed. Will be available for the new DB with the next deployment