diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-01-15 15:33:22 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-01-15 15:33:24 -0800 |
commit | 96df40583576d6a00dd585628bb9569996d038b5 (patch) | |
tree | 485d74126148c747d9685ff12c76c5f289f6dea0 /python_openapi_client/tests/codegen/test_file_url.py | |
parent | 689da76d1c759d6368d760b4a1fa942e16095a40 (diff) | |
download | fatcat-96df40583576d6a00dd585628bb9569996d038b5.tar.gz fatcat-96df40583576d6a00dd585628bb9569996d038b5.zip |
fatcatd: fix corner-case in abstracts insertion
Both the release_abstract relation table and the abstracts table inserts
were being gated by a check on new abstracts table rows.
I *think* the chance of this having caused problems is low. The most
likely would have been updates to exiting entities that somehow removed
the abstracts content, but not the sha1 keys. This is not the default
behavior of the API: either the entire abstract (content and hash) is
returned, or the abstracts are hidden entirely (via `hide` flag).
Still, best to be careful!
Diffstat (limited to 'python_openapi_client/tests/codegen/test_file_url.py')
0 files changed, 0 insertions, 0 deletions