Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit 9a34a0c

Browse files
committed
fix: Corrects name of patchEntities to patchEntity.
1 parent 47acd4a commit 9a34a0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/factory.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import countEntities from './functions/countEntities';
77
import createEntity from './functions/createEntity';
88
import getEntities from './functions/getEntities';
99
import getEntity from './functions/getEntity';
10-
import patchEntities from './functions/patchEntities';
10+
import patchEntity from './functions/patchEntity';
1111
import removeEntities from './functions/removeEntities';
1212
import removeEntity from './functions/removeEntity';
1313
import 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.

0 commit comments

Comments
 (0)