membermatters / MemberMatters

An open source membership, access and payments portal for makerspaces and community groups.
https://membermatters.org
MIT License
40 stars 23 forks source link

The space directory API returns a 500 if there's no space api object configured #227

Open jabelone opened 7 months ago

jabelone commented 7 months ago

Currently, the space api endpoint returns a 500 server error if you attempt to poll it without a space api object defined in the database. The endpoint should use a default setting of closed and no message instead of returning an error if it doesn't exist.