Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FilesInterceptor('image', 20, {
storage: diskStorage({
destination: './files',
filename: editFileName,
fileFilter: imageFileFilter,
async uploadMultipleFiles(@UploadedFiles() files) {
const response = [];
files.forEach(file => {
const fileReponse = {
originalname: file.originalname,
filename: file.filename,
return response;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.