fix(server): avoid repeatly register providers (#5265)

This commit is contained in:
liuyi
2023-12-13 02:12:37 +00:00
parent f4a52c031f
commit 797cd5c6eb
12 changed files with 34 additions and 53 deletions

View File

@@ -26,7 +26,7 @@ const createModule = () => {
CacheModule,
EventModule,
ConfigModule.forRoot(),
DocModule.forRoot(),
DocModule,
],
}).compile();
};