mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-24 07:37:20 +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
|
* @param {string} target Target for the attachment
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
async function uploadFileAttachmentToServer(file, target) {
|
export async function uploadFileAttachmentToServer(file, target) {
|
||||||
const isValid = await validateFile(file);
|
const isValid = await validateFile(file);
|
||||||
|
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user