theartofnonso
theartofnonso
I am currently using the latest version 1.4.2 and I have the following limit set: `const upload = multer({ dest: "avatars", limit: { fileSize: 1000000, }, });` It still doesn't...
@jonchurch ``` const upload = multer({ limit: { fileSize: 1000000, }, fileFilter(req, file, cb) { if (file.originalname.match(/\.(jpg|jpeg|png)\b/)) { return cb(undefined, true) } cb(new Error("File must be an image!")); } }).single("avatar");...
You are unable to select those files because you did not include them in `type: [DocumentPicker.types.images],` Example: If you only include videos, then images will be inactive for selection.
I am adding my comment on here to get this prioritised. Mocking Amplify DataStore using Mockito for Flutter
@NikaHsn I use Datastore alongside API to sync to cloud