Skip to content

Commit

Permalink
fix: Remove B2C Subscriptions subs API call (#6)
Browse files Browse the repository at this point in the history
SONIC-693
  • Loading branch information
julianajlk authored Aug 30, 2024
1 parent b9e555e commit 5d6e99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
6 changes: 3 additions & 3 deletions src/subscriptions/saga.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { put, takeLatest, call } from 'redux-saga/effects';
import { put, takeLatest } from 'redux-saga/effects';

import { fetchSubscriptions, hideSubscriptionSection } from './actions';
import getSubscriptions from './service';

function* handleFetchSubscriptions() {
try {
yield put(fetchSubscriptions.request());
const result = yield call(getSubscriptions);
// B2C subscriptions sunsetting, removed the subscriptions API call
const result = [];
if (!result?.length) {
yield put(hideSubscriptionSection());
}
Expand Down
21 changes: 0 additions & 21 deletions src/subscriptions/service.js

This file was deleted.

0 comments on commit 5d6e99f

Please sign in to comment.