diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-06 21:07:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-06 21:07:36 +0900 |
| commit | b9782397c2ec3688ff649ff10f2c682c7de33ea1 (patch) | |
| tree | 479d5f9bb39fb1d8bc1d05b06877fa564629f7a2 /src/queue/processors/export-blocking.ts | |
| parent | Clean up (diff) | |
| download | sharkey-b9782397c2ec3688ff649ff10f2c682c7de33ea1.tar.gz sharkey-b9782397c2ec3688ff649ff10f2c682c7de33ea1.tar.bz2 sharkey-b9782397c2ec3688ff649ff10f2c682c7de33ea1.zip | |
Fix file ext
Diffstat (limited to 'src/queue/processors/export-blocking.ts')
| -rw-r--r-- | src/queue/processors/export-blocking.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/export-blocking.ts b/src/queue/processors/export-blocking.ts index 849ba090b2..841fd2c3da 100644 --- a/src/queue/processors/export-blocking.ts +++ b/src/queue/processors/export-blocking.ts @@ -80,7 +80,7 @@ export async function exportBlocking(job: bq.Job, done: any): Promise<void> { stream.end(); logger.succ(`Exported to: ${path}`); - const fileName = dateFormat(new Date(), 'blocking-yyyy-mm-dd-HH-MM-ss') + '.json'; + const fileName = dateFormat(new Date(), 'blocking-yyyy-mm-dd-HH-MM-ss') + '.csv'; const driveFile = await addFile(user, path, fileName); logger.succ(`Exported to: ${driveFile._id}`); |