mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
test(server): utils (#10028)
This commit is contained in:
@@ -17,6 +17,7 @@ export class PromptService implements OnModuleInit {
|
||||
constructor(private readonly db: PrismaClient) {}
|
||||
|
||||
async onModuleInit() {
|
||||
this.cache.clear();
|
||||
await refreshPrompts(this.db);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user