Browse Source

strinbgify

master
Rich Brown 1 year ago
parent
commit
b4f3a3bc39
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      routes/createRouter.js

+ 1
- 2
routes/createRouter.js View File

@@ -35,8 +35,7 @@ createRouter.post('/form', upload.single('file'), (req, res) => {
name: title, // i thought MF syntax was 'p-name' but voxpelli's formattr turns NAME to TITLE
content: body,
category: arrayOfTags,
'photo.filename': file.originalname,
'photo.buffer': file.buffer,
photo: JSON.stringify(file),
},
'multipart',
)


Loading…
Cancel
Save