This is for the purpose of making theliturgists/backend#19 simpler, avoiding reimplementation of this logic (and fixing any future bugs in multiple places).
How Has This Been Tested?
Navigated to the Patreon screen; my rewards looked the same.
Disconnected Patreon and reconnected with a non-patron test user
Noticed a bug! It showed that the non-patron had access to the bonus
Fixed the bug in the extracted package; non-patron correctly showed no rewards
Description
https://github.com/theliturgists/patreon-pledge
Motivation and Context
This is for the purpose of making theliturgists/backend#19 simpler, avoiding reimplementation of this logic (and fixing any future bugs in multiple places).
How Has This Been Tested?