diff options
author | Frederick Muriuki Muriithi | 2022-03-30 11:28:00 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-30 11:41:52 +0300 |
commit | 0c6654ec8bd71297ca7d97899933f98d526b6725 (patch) | |
tree | 577d312ad9e3c36ccee40bcb9091bbbe3468e3ff /gn3/heatmaps.py | |
parent | 1d4d6d91172bec1e32fa3632d8c4b13c4e0d31f7 (diff) | |
download | genenetwork3-0c6654ec8bd71297ca7d97899933f98d526b6725.tar.gz |
Revert "Run json.loads on request.get_json, since request.get_json was just returning a string"
This reverts commit b93b22386056347d8002dd2e403425beeb4657cd.
The appropriate fix should have been in GN2. The original statement
args = request.get_json()
was correct, since `request.get_json()` should return a python object parsed
from the JSON string in the request. Unfortunately, GN2 was encoding the
request data two times, which led to the call returning a JSON-encoded string
instead of the expected object.
The issue has been fixed in GN2 and therefore, the "fix" here can be reverted.
Diffstat (limited to 'gn3/heatmaps.py')
0 files changed, 0 insertions, 0 deletions