Use dot notation instead of subscript.

This commit is contained in:
voussoir 2020-06-28 16:55:48 -07:00
parent 6cfa83e2d8
commit b817a7e8b9

View file

@ -18,10 +18,10 @@ function _request(method, url, callback)
{
if (request.status != 0)
{
response["completed"] = true;
response["data"] = JSON.parse(request.responseText);
response.completed = true;
response.data = JSON.parse(request.responseText);
}
response["meta"] = {
response.meta = {
"request_url": url,
"status": request.status
}