From 7c53bc6515c39acb0b2397f92329506cca63cd1c Mon Sep 17 00:00:00 2001 From: Terry Zhao Date: Fri, 8 Nov 2024 01:19:53 -0500 Subject: [PATCH] run lint:fix --- server/src/constants.ts | 2 +- server/src/repositories/media.repository.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/constants.ts b/server/src/constants.ts index 21d1a7667a6fa..fc2442130e002 100644 --- a/server/src/constants.ts +++ b/server/src/constants.ts @@ -1,7 +1,7 @@ import { Duration } from 'luxon'; import { readFileSync } from 'node:fs'; import { SemVer } from 'semver'; -import { ExifOrientation } from './enum'; +import { ExifOrientation } from 'src/enum'; export const POSTGRES_VERSION_RANGE = '>=14.0.0'; export const VECTORS_VERSION_RANGE = '>=0.2 <0.4'; diff --git a/server/src/repositories/media.repository.ts b/server/src/repositories/media.repository.ts index fe8ecb0046a97..8dcbf208c6ae8 100644 --- a/server/src/repositories/media.repository.ts +++ b/server/src/repositories/media.repository.ts @@ -6,7 +6,7 @@ import fs from 'node:fs/promises'; import { Writable } from 'node:stream'; import sharp from 'sharp'; import { ORIENTATION_TO_SHARP_ROTATION } from 'src/constants'; -import { Colorspace, ExifOrientation, LogLevel } from 'src/enum'; +import { Colorspace, LogLevel } from 'src/enum'; import { ILoggerRepository } from 'src/interfaces/logger.interface'; import { DecodeToBufferOptions,