Commit 984ca47f
Changed files (1)
app
controllers
app/controllers/admin/subscriptions_controller.rb
@@ -1,7 +1,7 @@
module Admin
class SubscriptionsController < AdminController
def index
- members = Gibbon::API.lists.members({ id: '6ea750df21', status: 'subscribed', opts: { start: 0, limit: 100}})
+ members = Gibbon::API.lists.members({ id: ENV['MAILCHIMP_LIST_ID'], status: 'subscribed'})
@subscriptions = members["data"]
@total = members["total"]
end