Invalid JSON for COVID-19 Case Locations Dataset

The COVID-19 Case Locations Dataset is currently returning JavaScript rather than JSON.
This breaks applications expecting JSON.

As a quick example, you can’t open the following file in Firefox’s built-in JSON viewer, as the first line is a JavaScript assignment, which is not valid JSON:

https://data.nsw.gov.au/data/dataset/0a52e6c1-bc0b-48af-8b45-d791a6d8e289/resource/f3a28eed-8c2a-437b-8ac1-2dab3cf760f9/download/venue-data.json

I also notice that the official link on the Case Locations page has changed to point to a JavaScript file, not a JSON file:

https://data.nsw.gov.au/data/dataset/0a52e6c1-bc0b-48af-8b45-d791a6d8e289/resource/f3a28eed-8c2a-437b-8ac1-2dab3cf760f9/download/venue-data-20201007-8pm.js

This appears to be fixed now.
Thanks!

© Data.NSW