mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Disable health route hit on config update
This commit is contained in:
		
							parent
							
								
									0e739d8e32
								
							
						
					
					
						commit
						0c2b54532e
					
				@ -70,7 +70,7 @@ export function* submitData(action) {
 | 
				
			|||||||
    const body = yield select(makeSelectModifiedData());
 | 
					    const body = yield select(makeSelectModifiedData());
 | 
				
			||||||
    const opts = { method: 'PUT', body };
 | 
					    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());
 | 
					    yield put(submitSucceeded());
 | 
				
			||||||
  } catch(error) {
 | 
					  } catch(error) {
 | 
				
			||||||
    strapi.notification.error('notification.error');
 | 
					    strapi.notification.error('notification.error');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user