summaryrefslogtreecommitdiff
path: root/src/queue/processors/export-blocking.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-06 21:07:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-06 21:07:36 +0900
commitb9782397c2ec3688ff649ff10f2c682c7de33ea1 (patch)
tree479d5f9bb39fb1d8bc1d05b06877fa564629f7a2 /src/queue/processors/export-blocking.ts
parentClean up (diff)
downloadsharkey-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.ts2
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}`);