diff options
Diffstat (limited to 'src/instagram_task.ts')
| -rw-r--r-- | src/instagram_task.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/instagram_task.ts b/src/instagram_task.ts index 7ca0c77..09b82b5 100644 --- a/src/instagram_task.ts +++ b/src/instagram_task.ts @@ -5,7 +5,7 @@ import { wait } from "./utils"; export interface InstagramTask { type: "download_instagram"; url: string; - respondWithFile: (message: string, filePath: string) => Promise<void>; + respondWithFile: (filePath: string) => Promise<void>; } export const runDownloadInstagramTask = async (task: InstagramTask) => { @@ -122,7 +122,7 @@ export const runDownloadInstagramTask = async (task: InstagramTask) => { const downloadedFile = downloadedFiles[0]; - await task.respondWithFile("🗿🗿🗿", `./downloads/${downloadedFile}`); + await task.respondWithFile(`./downloads/${downloadedFile}`); } finally { await page.close(); await browser.close(); |
