gocodebox / lifterlms-rest

LifterLMS REST API Feature Plugin
6 stars 7 forks source link

Fix request to list access plans resulting in fatal error when logged in as admin #239

Closed eri-trabiccolo closed 3 years ago

eri-trabiccolo commented 3 years ago

Description

Fixes #234

How has this been tested?

manually - already present unit tests (e.g. the pagination one) should produce the same error but didn't, I haven't really investigated into the reason why they didn't hence didn't create new ones. I'm going to if we care about, but I think it's fine so if we want to merge this soon and/or move on.

Screenshots

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist: