mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
parent
78c7ff855d
commit
171b6bb0a6
32 changed files with 1023 additions and 163 deletions
|
|
@ -51,7 +51,9 @@ export class ServerInfoService {
|
|||
|
||||
const featureFlags = await this.getFeatures();
|
||||
if (featureFlags.configFile) {
|
||||
await this.setAdminOnboarding();
|
||||
await this.systemMetadataRepository.set(SystemMetadataKey.ADMIN_ONBOARDING, {
|
||||
isOnboarded: true,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -105,10 +107,6 @@ export class ServerInfoService {
|
|||
};
|
||||
}
|
||||
|
||||
setAdminOnboarding(): Promise<void> {
|
||||
return this.systemMetadataRepository.set(SystemMetadataKey.ADMIN_ONBOARDING, { isOnboarded: true });
|
||||
}
|
||||
|
||||
async getStatistics(): Promise<ServerStatsResponseDto> {
|
||||
const userStats: UserStatsQueryResponse[] = await this.userRepository.getUserStats();
|
||||
const serverStats = new ServerStatsResponseDto();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue