Fixed issue where one-off playlist downlaods would only include the first video

This commit is contained in:
Isaac Abadi
2022-06-30 01:29:18 -04:00
parent c9359f172e
commit 768798c6b3
4 changed files with 12 additions and 7 deletions

View File

@@ -198,7 +198,7 @@ async function registerFileDBManual(file_object) {
path_object = path.parse(file_object['path']);
file_object['path'] = path.format(path_object);
exports.insertRecordIntoTable('files', file_object, {path: file_object['path']})
await exports.insertRecordIntoTable('files', file_object, {path: file_object['path']})
return file_object;
}