Skip to content
Snippets Groups Projects
Unverified Commit b9782397 authored by syuilo's avatar syuilo
Browse files

Fix file ext

parent ea0abc9f
No related branches found
No related tags found
No related merge requests found
......@@ -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}`);
......
......@@ -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}`);
......
......@@ -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}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment