Skip to content

API possibly not recognising area names if there's no loadshedding for an area #7

@beyarkay

Description

@beyarkay

beyarkay/eskom-calendar#503

Website was showing loadshedding for eskom-direct-13-odd but API was showing "No areas found that match eskom-direct-13-odd", it's possible that the API is fetching data solely from machine_friendly and so if there's no loadshedding, there're no entries in machine_friendly and thus the area "eskom-direct-13-odd" isn't present in the machine_friendly file. This should be an easy fix, if that is the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions