removed .destroy as it messes up multiple calls
This commit is contained in:
		
							parent
							
								
									7017017814
								
							
						
					
					
						commit
						f41156c947
					
				| 
						 | 
					@ -40,7 +40,7 @@ export default async function getNewPrompt({ minCount = 200000, maxCount = 30000
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    await db.destroy()
 | 
					    //await db.destroy()
 | 
				
			||||||
    return await randomEntry(prompts)
 | 
					    return await randomEntry(prompts)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue