Skip to content

Commit

Permalink
Merge pull request #1172 from openedx/ammar/remove-streaming-csv-feat…
Browse files Browse the repository at this point in the history
…ure-flag

feat: remove streaming csv feature flag
  • Loading branch information
muhammad-ammar authored Feb 15, 2024
2 parents 2ba315d + d3a182a commit 84a1f59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const features = {
SUBSCRIPTION_LPR: process.env.SUBSCRIPTION_LPR || hasFeatureFlagEnabled('SUBSCRIPTION_LPR'),
AUTH0_SELF_SERVICE_INTEGRATION: process.env.AUTH0_SELF_SERVICE_INTEGRATION || hasFeatureFlagEnabled('AUTH0_SELF_SERVICE_INTEGRATION'),
FEATURE_HIGHLIGHTS_ARCHIVE_MESSAGING: process.env.FEATURE_HIGHLIGHTS_ARCHIVE_MESSAGING || hasFeatureFlagEnabled('FEATURE_HIGHLIGHTS_ARCHIVE_MESSAGING'),
FEATURE_STREAMING_CSV: process.env.FEATURE_STREAMING_CSV || hasFeatureFlagEnabled('FEATURE_STREAMING_CSV'),
};

export { configuration, features };
5 changes: 0 additions & 5 deletions src/data/services/EnterpriseDataApiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class EnterpriseDataApiService {

if (csv) {
queryParams.set('no_page', csv);
queryParams.set('streaming_csv_enabled', features.FEATURE_STREAMING_CSV);
}

const url = `${EnterpriseDataApiService.enterpriseBaseUrl}${enterpriseUUID}/${endpoint}/?${queryParams.toString()}`;
Expand Down Expand Up @@ -69,7 +68,6 @@ class EnterpriseDataApiService {

if (csv) {
queryParams.set('no_page', csv);
queryParams.set('streaming_csv_enabled', features.FEATURE_STREAMING_CSV);
}

const url = `${EnterpriseDataApiService.enterpriseBaseUrl}${enterpriseUUID}/${endpoint}/?${queryParams.toString()}`;
Expand All @@ -91,7 +89,6 @@ class EnterpriseDataApiService {

if (csv) {
queryParams.set('no_page', csv);
queryParams.set('streaming_csv_enabled', features.FEATURE_STREAMING_CSV);
}

const url = `${EnterpriseDataApiService.enterpriseBaseUrl}${enterpriseUUID}/${endpoint}/?${queryParams.toString()}`;
Expand All @@ -115,7 +112,6 @@ class EnterpriseDataApiService {

if (csv) {
queryParams.set('no_page', csv);
queryParams.set('streaming_csv_enabled', features.FEATURE_STREAMING_CSV);
}

const url = `${EnterpriseDataApiService.enterpriseBaseUrl}${enterpriseUUID}/${endpoint}/?${queryParams.toString()}`;
Expand All @@ -135,7 +131,6 @@ class EnterpriseDataApiService {

if (csv) {
queryParams.set('no_page', csv);
queryParams.set('streaming_csv_enabled', features.FEATURE_STREAMING_CSV);
}

const url = `${EnterpriseDataApiService.enterpriseBaseUrl}${enterpriseUUID}/${endpoint}/?${queryParams.toString()}`;
Expand Down

0 comments on commit 84a1f59

Please sign in to comment.