mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-05 02:08:08 +09:00
Fix file name
This commit is contained in:
parent
e8ef52af32
commit
0180976629
@ -100,7 +100,7 @@ export async function exportNotes(job: bq.Job, done: any): Promise<void> {
|
||||
stream.end();
|
||||
logger.succ(`Exported to: ${path}`);
|
||||
|
||||
const fileName = 'notes' + dateFormat(new Date(), 'yyyy-mm-dd-HH-MM-ss') + '.json';
|
||||
const fileName = 'notes-' + dateFormat(new Date(), 'yyyy-mm-dd-HH-MM-ss') + '.json';
|
||||
const driveFile = await addFile(user, path, fileName);
|
||||
|
||||
logger.succ(`Exported to: ${driveFile._id}`);
|
||||
|
Loading…
Reference in New Issue
Block a user