Add export_ad settings for export_zip task

This commit is contained in:
2023-06-22 23:01:33 +08:00
parent 1b4f9f39ad
commit 319adc7e93
3 changed files with 10 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ export const handler: Handlers = {
const cfg: ExportZipConfig = {};
cfg.jpn_title = await parse_bool(params.get("jpn_title"), false);
cfg.max_length = await parse_int(params.get("max_length"), 0);
cfg.export_ad = await parse_bool(params.get("export_ad"), false);
const m = get_task_manager();
return get_export_zip_response(gid, m.db, cfg);
},