mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 12:00:01 +03:00
Fixed function call in db.js
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user