mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
fix: url uploads failing
This commit is contained in:
parent
634347c219
commit
aa85d04d34
@ -219,7 +219,8 @@ self.upload = async (req, res) => {
|
||||
req.body = {}
|
||||
|
||||
// Initially try to parse as multipart
|
||||
let hasMultipartField = true
|
||||
// TODO: Check Request's Content-Type instead of always trying to parse as multipart
|
||||
let hasMultipartField = false
|
||||
|
||||
const unlinkFiles = async files => {
|
||||
return Promise.all(files.map(async file => {
|
||||
|
Loading…
Reference in New Issue
Block a user