add supporter_status api route

This commit is contained in:
actualaardvark 2025-02-21 17:28:14 -08:00
parent 03b052a3a7
commit 39b4cfc5ed

View file

@ -227,6 +227,12 @@ def api_info_for(site)
}
end
get '/api/supporter_status' do
require_api_credentials
api_success supporter: current_site.supporter?
end
# Catch-all for missing api calls
get '/api/:name' do