fix: align backup ui and downloads
This commit is contained in:
@@ -4,6 +4,7 @@ import scripts from "../config/backup-script.json"
|
||||
type BackupScript = {
|
||||
key: string
|
||||
label: string
|
||||
downloadFolders?: string[]
|
||||
command: string
|
||||
}
|
||||
|
||||
@@ -44,6 +45,7 @@ export default defineEventHandler(async (event) => {
|
||||
ok: true,
|
||||
key: script.key,
|
||||
label: script.label,
|
||||
downloadFolders: script.downloadFolders || [],
|
||||
output: output.trim()
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user