0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-18 01:24:26 -05:00

chore(server): cleanup (#3699)

This commit is contained in:
Jason Rasmussen 2023-08-15 12:05:32 -04:00 committed by GitHub
parent 35b4c9d375
commit af1f00dff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -69,9 +69,9 @@ export class ServerInfoService {
getSupportedMediaTypes(): ServerMediaTypesResponseDto { getSupportedMediaTypes(): ServerMediaTypesResponseDto {
return { return {
video: [...Object.keys(mimeTypes.video)], video: Object.keys(mimeTypes.video),
image: [...Object.keys(mimeTypes.image)], image: Object.keys(mimeTypes.image),
sidecar: [...Object.keys(mimeTypes.sidecar)], sidecar: Object.keys(mimeTypes.sidecar),
}; };
} }
} }

View file

@ -60,7 +60,6 @@ export class UserCore {
dto.externalPath = null; dto.externalPath = null;
} }
console.log(dto.memoriesEnabled);
return this.userRepository.update(id, dto); return this.userRepository.update(id, dto);
} catch (e) { } catch (e) {
Logger.error(e, 'Failed to update user info'); Logger.error(e, 'Failed to update user info');