From 4e04ceae16025ad247a33a1e9775c063a82a003a Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Mon, 1 May 2023 19:31:54 -0400 Subject: [PATCH] Fixed function call in db.js --- backend/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/db.js b/backend/db.js index b577685..c79debb 100644 --- a/backend/db.js +++ b/backend/db.js @@ -169,7 +169,7 @@ exports._connectToDB = async (custom_connection_string = null) => { exports.setVideoProperty = async (file_uid, assignment_obj) => { // TODO: check if video exists, throw error if not - await db_api.updateRecord('files', {uid: file_uid}, assignment_obj); + await exports.updateRecord('files', {uid: file_uid}, assignment_obj); } exports.getFileDirectoriesAndDBs = async () => {