Skip to content

Commit

Permalink
Removed dev key
Browse files Browse the repository at this point in the history
  • Loading branch information
thesecretmaster committed Sep 4, 2018
1 parent 747ab91 commit 98242e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/sites_helper.rb
Expand Up @@ -3,7 +3,7 @@
module SitesHelper
def self.update_sites
require 'net/http'
url = URI.parse('https://api.stackexchange.com/2.2/sites?pagesize=1000&filter=!SmNndiHFp*Yrs)zUme&key=w4fP2kFjh)3k4v1z7hwcfQ((')
url = URI.parse('https://api.stackexchange.com/2.2/sites?pagesize=1000&filter=!SmNndiHFp*Yrs)zUme')
res = Net::HTTP.get_response(url)
sites = JSON.parse(res.body)['items']
return unless sites.count > 100 # all is not well; bail
Expand Down

0 comments on commit 98242e8

Please sign in to comment.