bitcointranscripts / transcription-review-backend

7 stars 11 forks source link

refactor: pending reviews to apply different pending limits #283

Closed Extheoisah closed 5 months ago

Extheoisah commented 5 months ago

closes #282 This PR implements issue #282. Here we check if a user has successfully reviewed fewer than 3 transcripts. If true, we allow the user to claim only 1 transcript and return an error if the user already has a pending review. If the user has successfully reviewed 3 or more transcripts, we allow to have 6 pending reviews. If the user has 6 or more pending reviews, we return an error.