Disable health route hit on config update

This commit is contained in:
Jim Laurie 2018-02-02 18:08:49 +01:00
parent 0e739d8e32
commit 0c2b54532e

View File

@ -70,7 +70,7 @@ export function* submitData(action) {
const body = yield select(makeSelectModifiedData());
const opts = { method: 'PUT', body };
yield call(request, `/users-permissions/${action.endPoint}`, opts, true);
yield call(request, `/users-permissions/${action.endPoint}`, opts);
yield put(submitSucceeded());
} catch(error) {
strapi.notification.error('notification.error');