Skip to content

Commit

Permalink
fix: Modify subscriptions saga to not fetch subs
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Aug 29, 2024
1 parent bfb5ab2 commit 1b70fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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';

Check failure on line 1 in src/subscriptions/saga.js

View workflow job for this annotation

GitHub Actions / tests

'call' is defined but never used

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

0 comments on commit 1b70fc2

Please sign in to comment.