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 | |
| 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')
| -rw-r--r-- | src/queue/processors/export-blocking.ts | 2 | ||||
| -rw-r--r-- | src/queue/processors/export-following.ts | 2 | ||||
| -rw-r--r-- | src/queue/processors/export-mute.ts | 2 |
3 files changed, 3 insertions, 3 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}`); diff --git a/src/queue/processors/export-following.ts b/src/queue/processors/export-following.ts index 7107df24e8..ed37781c0f 100644 --- a/src/queue/processors/export-following.ts +++ b/src/queue/processors/export-following.ts @@ -80,7 +80,7 @@ export async function exportFollowing(job: bq.Job, done: any): Promise<void> { stream.end(); logger.succ(`Exported to: ${path}`); - const fileName = dateFormat(new Date(), 'following-yyyy-mm-dd-HH-MM-ss') + '.json'; + const fileName = dateFormat(new Date(), 'following-yyyy-mm-dd-HH-MM-ss') + '.csv'; const driveFile = await addFile(user, path, fileName); logger.succ(`Exported to: ${driveFile._id}`); diff --git a/src/queue/processors/export-mute.ts b/src/queue/processors/export-mute.ts index 5c5d6e46ae..efe4af6c38 100644 --- a/src/queue/processors/export-mute.ts +++ b/src/queue/processors/export-mute.ts @@ -80,7 +80,7 @@ export async function exportMute(job: bq.Job, done: any): Promise<void> { stream.end(); logger.succ(`Exported to: ${path}`); - const fileName = dateFormat(new Date(), 'mute-yyyy-mm-dd-HH-MM-ss') + '.json'; + const fileName = dateFormat(new Date(), 'mute-yyyy-mm-dd-HH-MM-ss') + '.csv'; const driveFile = await addFile(user, path, fileName); logger.succ(`Exported to: ${driveFile._id}`); |