mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-24 23:48:42 +02:00
Export Data Bank upload function
This commit is contained in:
parent
344146d837
commit
e6ddbd1418
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user