refactor: tes
This commit is contained in:
parent
3082e950ce
commit
67c829a498
|
|
@ -13,7 +13,7 @@ const fileFilter = (req, file, cb) => {
|
||||||
} else {
|
} else {
|
||||||
cb(
|
cb(
|
||||||
new Error(
|
new Error(
|
||||||
"Invalid file type, only .png, .jpg, and .jpeg files are allowed!"
|
"Invalid file type, only .png, .jpg, and .jpeg files are allowed!!"
|
||||||
),
|
),
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user