feat: import assets from disk module

This commit is contained in:
NGPixel committed 2019-10-20 14:42:10 -04:00
1 parent 186174f8fe
commit f1668b9ac5
4 files changed
+106 -49

No files matched your search

+1
View File
@@ -88,6 +88,7 @@ router.post('/u', multer({
// Process upload file
await WIKI.models.assets.upload({
...fileMeta,
mode: 'upload',
folderId: folderId,
assetPath,
user: req.user