diff --git a/app/api.rb b/app/api.rb index f476003b..b7b0c715 100644 --- a/app/api.rb +++ b/app/api.rb @@ -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