chore: move apps and test utils (#8129)

This commit is contained in:
Jason Rasmussen
2024-03-20 16:22:47 -05:00
committed by GitHub
parent c1402eee8e
commit 907eb869bc
13 changed files with 42 additions and 42 deletions
+8
View File
@@ -0,0 +1,8 @@
import { CommandFactory } from 'nest-commander';
import { ImmichAdminModule } from 'src/apps/immich-admin.module';
import { LogLevel } from 'src/entities/system-config.entity';
export async function bootstrapImmichAdmin() {
process.env.LOG_LEVEL = LogLevel.WARN;
await CommandFactory.run(ImmichAdminModule);
}