mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 13:03:12 +02:00
removed extra next
This commit is contained in:
@@ -160,7 +160,6 @@ function uploadImage(filename, folder, uploadedFile, req, res, next) {
|
||||
}
|
||||
|
||||
res.json([{name: uploadedFile.name, url: image.url.startsWith('http') ? image.url : nconf.get('relative_path') + image.url}]);
|
||||
next();
|
||||
}
|
||||
|
||||
if (plugins.hasListeners('filter:uploadImage')) {
|
||||
|
||||
Reference in New Issue
Block a user