webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js in katello-3.7.0.rc1 vs webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js in katello-3.7.0.rc2

- old
+ new

@@ -12,16 +12,16 @@ export const loadUpstreamSubscriptions = (extendedParams = {}) => (dispatch) => { dispatch({ type: UPSTREAM_SUBSCRIPTIONS_REQUEST }); const params = { - ...{ organization_id: orgId, attachable: true }, + ...{ organization_id: orgId(), attachable: true }, ...propsToSnakeCase(extendedParams), }; return api - .get(`/organizations/${orgId}/upstream_subscriptions`, {}, params) + .get(`/organizations/${orgId()}/upstream_subscriptions`, {}, params) .then(({ data }) => { dispatch({ type: UPSTREAM_SUBSCRIPTIONS_SUCCESS, response: data, search: extendedParams.search, @@ -41,10 +41,10 @@ const params = { ...propsToSnakeCase(upstreamSubscriptions), }; return api - .post(`/organizations/${orgId}/upstream_subscriptions`, params) + .post(`/organizations/${orgId()}/upstream_subscriptions`, params) .then(({ data }) => { dispatch({ type: SAVE_UPSTREAM_SUBSCRIPTIONS_SUCCESS, response: data, });