diff --git a/app/controllers/api/api_controller.rb b/app/controllers/api/api_controller.rb index 3083874..dada63d 100644 --- a/app/controllers/api/api_controller.rb +++ b/app/controllers/api/api_controller.rb @@ -273,11 +273,11 @@ def taxonomy private # log all api calls to stathat - def log - return unless Rails.application.config.unipept_API_logging - - StatHat::API.ez_post_count("API - #{action_name}", Rails.application.config.unipept_stathat_key, 1) - end + # def log + # return unless Rails.application.config.unipept_API_logging + # + # StatHat::API.ez_post_count("API - #{action_name}", Rails.application.config.unipept_stathat_key, 1) + # end # enable cross origin requests def set_headers