Fixed function call in db.js

pull/887/head
Tzahi12345 2 years ago
parent 5eec5ac082
commit 4e04ceae16

@ -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 () => {

Loading…
Cancel
Save