We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4d66c0 commit 57f6407Copy full SHA for 57f6407
src/helpers/Multer.ts
@@ -2,7 +2,7 @@
2
import { pickBy } from 'lodash'
3
import { Request } from 'express'
4
5
-function pickSingelFieldMulter(req: Request, fields: string[]) {
+function pickSingleFieldMulter(req: Request, fields: string[]) {
6
return pickBy(
7
fields.reduce<any>((acc, field) => {
8
acc[field] = req.getSingleArrayFile(field)
@@ -15,7 +15,7 @@ function pickSingelFieldMulter(req: Request, fields: string[]) {
15
}
16
17
const Multers = {
18
- pickSingelFieldMulter,
+ pickSingleFieldMulter,
19
20
21
export default Multers
0 commit comments