cnap-cobre/synapse

View on GitHub
frontend/src/store/userProfile/sagas.js

Summary

Maintainability
A
40 mins
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

function* getUserProfile() {
try {
const userProfile = yield call(Synapse.fetchUserProfile);
yield put(actions.success(userProfile));
} catch (e) {
Severity: Minor
Found in frontend/src/store/userProfile/sagas.js and 1 other location - About 40 mins to fix
frontend/src/store/agaveFileSystems/sagas.js on lines 9..17
Category
Status