mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 21:44:12 +00:00 
			
		
		
		
	Fix file name
This commit is contained in:
		
							parent
							
								
									d25bd876cb
								
							
						
					
					
						commit
						0ed43e1bdf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -100,7 +100,7 @@ export async function exportNotes(job: bq.Job, done: any): Promise<void> { | ||||||
| 	stream.end(); | 	stream.end(); | ||||||
| 	logger.succ(`Exported to: ${path}`); | 	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); | 	const driveFile = await addFile(user, path, fileName); | ||||||
| 
 | 
 | ||||||
| 	logger.succ(`Exported to: ${driveFile._id}`); | 	logger.succ(`Exported to: ${driveFile._id}`); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue