PrayTeam / scriptured-prayer

GNU Affero General Public License v3.0
1 stars 0 forks source link

fix: switch cards request to use category id instead of name #80

Closed asherlloyd closed 4 months ago

asherlloyd commented 4 months ago

Description

Switch the cards API request inside PrayerDeck.tsx to use category__id instead of category__name.

Reason

The changes applied by #70 broke the Prayer Deck page. These changes resolve the issue so that API requests can be made using the supplied category ID rather than name.

How this has been tested

Locally, via the Yarn build.

Types of changes

Screenshots

Checklist: