This repository was archived by the owner on Jun 22, 2021. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import countEntities from './functions/countEntities';
77import  createEntity  from  './functions/createEntity' ; 
88import  getEntities  from  './functions/getEntities' ; 
99import  getEntity  from  './functions/getEntity' ; 
10- import  patchEntities  from  './functions/patchEntities ' ; 
10+ import  patchEntity  from  './functions/patchEntity ' ; 
1111import  removeEntities  from  './functions/removeEntities' ; 
1212import  removeEntity  from  './functions/removeEntity' ; 
1313import  replaceEntity  from  './functions/replaceEntity' ; 
@@ -30,7 +30,7 @@ export default <E extends Entity>(factoryConfig: FactoryConfig<E>): Router => {
3030  router . get ( '/count' ,  countEntities ( facadeConfig ) ) ; 
3131  router . delete ( '/:id' ,  removeEntity ( facadeConfig ) ) ; 
3232  router . get ( '/:id' ,  getEntity ( facadeConfig ) ) ; 
33-   router . patch ( '/:id' ,  patchEntities ( facadeConfig ) ) ; 
33+   router . patch ( '/:id' ,  patchEntity ( facadeConfig ) ) ; 
3434  router . put ( '/:id' ,  replaceEntity ( facadeConfig ) ) ; 
3535  router . delete ( '' ,  removeEntities ( facadeConfig ) ) ; 
3636  router . get ( '' ,  getEntities ( facadeConfig ) ) ; 
File renamed without changes.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments