Commit 837bbb40 authored by Ryan Cobb's avatar Ryan Cobb Committed by Ryan

Reference constant in create service

parent 03fc8dfa
......@@ -95,7 +95,7 @@ module Subscriptions
end
def customers_oauth_app_id
Rails.cache.fetch('customers_oauth_app_id', expires_in: 1.hour) do
Rails.cache.fetch(CUSTOMERS_OAUTH_APP_ID_CACHE_KEY, expires_in: 1.hour) do
response = client.customers_oauth_app_id
response.dig(:data, 'oauth_app_id')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment