From 42aaecc13a89bcb0277962d4a3bdf2c70af7c420 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Tue, 20 Jul 2021 23:40:06 -0600 Subject: [PATCH] Fixed bug where downloaded videos did not have a user_uid field --- backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.js b/backend/app.js index a0e01db..20cd52d 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1025,7 +1025,7 @@ async function downloadFileByURL_exec(url, type, options, sessionID = null) { } // 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 if (file_name) file_names.push(file_name);