Skip to content

fix: Correct erroneous "minimum donation" value in swag JSON

stephen requested to merge correct-minimum-swag-value into main

In order to generate proper perk JSON for the front-end, it was necessary to hand-edit the output of the CiviCRM perk JSON export, due to the feature not yet being able to render all necessary fields. @mattlav and I performed this work on a call with the JSON file shared between us. However, it seems we both missed a single 0 - in my testing on another branch, I noticed that the t-shirt pack was selectable for recurring donations of only $5 (despite both cheaper perks not qualifying at only $5/mo).

This MR adds the missing 0 to the JSON. All perks now become available only at their proper price points.

Merge request reports