fix: replace spaces in upload filenames

This commit is contained in:
Nick committed 2019-06-02 22:18:11 -04:00
1 parent b38655b91c
commit a50bb2f281
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ module.exports = {
try {
const folderSlug = sanitize(args.slug).toLowerCase()
const parentFolderId = args.parentFolderId === 0 ? null : args.parentFolderId
const result = await WIKI.models.assetFolders.query().where({
const result = await WIKI.models.assetFolders.query().where({
parentId: parentFolderId,
slug: folderSlug
}).first()