diff options
author | Frederick Muriuki Muriithi | 2022-03-30 11:20:04 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-30 11:20:04 +0300 |
commit | 83dc666dd35a5c275c0182ae3f580a37fd67d98b (patch) | |
tree | d5e433cd0827d1bf0116761831d8485eac82296a /RELEASE-NOTES.md | |
parent | 938b9dafafe7b9f72827d7d28ce0706b03eb71ce (diff) | |
download | genenetwork2-83dc666dd35a5c275c0182ae3f580a37fd67d98b.tar.gz |
Remove double-encoding to json
Passing the data into `requests.post` as a `json=...` argument will
automatically encode the data to JSON and set up the correct
Content-Type header.
The call `json.dumps(post_data)` was pre-encoding the data to a JSON
string, that was the re-encoded to JSON yet again, which is not what
we want. This commit fixes that.X
Diffstat (limited to 'RELEASE-NOTES.md')
0 files changed, 0 insertions, 0 deletions