This repository was archived by the owner on Jun 22, 2021. It is now read-only.
File tree 2 files changed +2
-2
lines changed
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';
7
7
import createEntity from './functions/createEntity' ;
8
8
import getEntities from './functions/getEntities' ;
9
9
import getEntity from './functions/getEntity' ;
10
- import patchEntities from './functions/patchEntities ' ;
10
+ import patchEntity from './functions/patchEntity ' ;
11
11
import removeEntities from './functions/removeEntities' ;
12
12
import removeEntity from './functions/removeEntity' ;
13
13
import replaceEntity from './functions/replaceEntity' ;
@@ -30,7 +30,7 @@ export default <E extends Entity>(factoryConfig: FactoryConfig<E>): Router => {
30
30
router . get ( '/count' , countEntities ( facadeConfig ) ) ;
31
31
router . delete ( '/:id' , removeEntity ( facadeConfig ) ) ;
32
32
router . get ( '/:id' , getEntity ( facadeConfig ) ) ;
33
- router . patch ( '/:id' , patchEntities ( facadeConfig ) ) ;
33
+ router . patch ( '/:id' , patchEntity ( facadeConfig ) ) ;
34
34
router . put ( '/:id' , replaceEntity ( facadeConfig ) ) ;
35
35
router . delete ( '' , removeEntities ( facadeConfig ) ) ;
36
36
router . get ( '' , getEntities ( facadeConfig ) ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments