forked from FoundKeyGang/FoundKey
Fix file ext
This commit is contained in:
parent
ea0abc9f71
commit
b9782397c2
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ export async function exportBlocking(job: bq.Job, done: any): Promise<void> {
|
||||||
stream.end();
|
stream.end();
|
||||||
logger.succ(`Exported to: ${path}`);
|
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);
|
const driveFile = await addFile(user, path, fileName);
|
||||||
|
|
||||||
logger.succ(`Exported to: ${driveFile._id}`);
|
logger.succ(`Exported to: ${driveFile._id}`);
|
||||||
|
|
|
@ -80,7 +80,7 @@ export async function exportFollowing(job: bq.Job, done: any): Promise<void> {
|
||||||
stream.end();
|
stream.end();
|
||||||
logger.succ(`Exported to: ${path}`);
|
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);
|
const driveFile = await addFile(user, path, fileName);
|
||||||
|
|
||||||
logger.succ(`Exported to: ${driveFile._id}`);
|
logger.succ(`Exported to: ${driveFile._id}`);
|
||||||
|
|
|
@ -80,7 +80,7 @@ export async function exportMute(job: bq.Job, done: any): Promise<void> {
|
||||||
stream.end();
|
stream.end();
|
||||||
logger.succ(`Exported to: ${path}`);
|
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);
|
const driveFile = await addFile(user, path, fileName);
|
||||||
|
|
||||||
logger.succ(`Exported to: ${driveFile._id}`);
|
logger.succ(`Exported to: ${driveFile._id}`);
|
||||||
|
|
Loading…
Reference in a new issue