Add typedefs for TTS audioJob

This commit is contained in:
Cohee
2024-01-21 15:19:13 +02:00
parent f3fc3f12a7
commit e2becdf7a9
2 changed files with 20 additions and 8 deletions

View File

@@ -108,7 +108,7 @@ router.post('/get', jsonParser, async (_, response) => {
// VRM assets
if (folder == 'vrm') {
output[folder] = {'model':[], 'animation':[]};
output[folder] = { 'model': [], 'animation': [] };
// Extract models
const vrm_model_folder = path.normalize(path.join(folderPath, 'vrm', 'model'));
let files = getFiles(vrm_model_folder);