mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-14 08:21:29 +03:00
Fixed bug where downloaded videos did not have a user_uid field
This commit is contained in:
@@ -1025,7 +1025,7 @@ async function downloadFileByURL_exec(url, type, options, sessionID = null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// registers file in DB
|
// registers file in DB
|
||||||
const file_obj = await db_api.registerFileDB2(full_file_path, options.user, category, null, options.cropFileSettings);
|
const file_obj = await db_api.registerFileDB2(full_file_path, type, options.user, category, null, options.cropFileSettings);
|
||||||
|
|
||||||
// TODO: remove the following line
|
// TODO: remove the following line
|
||||||
if (file_name) file_names.push(file_name);
|
if (file_name) file_names.push(file_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user