This commit is contained in:
syuilo 2018-07-05 23:36:07 +09:00
parent d53d45f797
commit 11439afde7
54 changed files with 260 additions and 260 deletions

View file

@ -28,7 +28,7 @@ module.exports = async (file: any, params: any, user: ILocalUser): Promise<any>
}
// Get 'folderId' parameter
const [folderId = null, folderIdErr] = $.type(ID).optional().nullable().get(params.folderId);
const [folderId = null, folderIdErr] = $.type(ID).optional.nullable.get(params.folderId);
if (folderIdErr) throw 'invalid folderId param';
function cleanup() {