From e6ddbd1418362bb53c9772597abcf49d6d99d89c Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 21 Apr 2024 01:15:29 +0300 Subject: [PATCH] Export Data Bank upload function --- public/scripts/chats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/chats.js b/public/scripts/chats.js index 79293cbc7..0ae0b304b 100644 --- a/public/scripts/chats.js +++ b/public/scripts/chats.js @@ -842,7 +842,7 @@ async function runScraper(scraperId, target, callback) { * @param {string} target Target for the attachment * @returns */ -async function uploadFileAttachmentToServer(file, target) { +export async function uploadFileAttachmentToServer(file, target) { const isValid = await validateFile(file); if (!isValid) {