GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Fix OCR transcriptions not being found with `/find/` endpoint #242

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

Apparently #239 doesn't fully work in production, the ocr key of the response is always null.

No idea why as it worked in the tests, but I'll have to simulate some transcription with OCR on my local setup to find out the cause.

TimJentzsch commented 2 years ago

The cause seems to be that transcribot has is_volunteer=true, contrary to what I thought. So currently that field does not distinguish users from bots.

TimJentzsch commented 2 years ago

This has been fixed by #289. Instead of is_volunteer we now use is_bot.