File now only use token

This commit is contained in:
2023-06-14 13:38:43 +08:00
parent c854d2a366
commit f46ad802f8
7 changed files with 54 additions and 21 deletions

View File

@@ -48,7 +48,7 @@ export function get_export_zip_response(
const signalc = new AbortController();
const signal = signalc.signal;
const download_task = async (p: PMeta) => {
const f = db.get_files(gid, p.token);
const f = db.get_files(p.token);
if (f.length) {
const r = await Deno.readFile(f[0].path, { signal });
await zip_writer.add(