Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore: clear unused import

Timothy Yin19993c4af3e4
diff --git a/server/api/photos/reindex-city.get.ts b/server/api/photos/reindex-city.get.ts
index 885cebe3..36ec2412 100644
--- a/server/api/photos/reindex-city.get.ts
+++ b/server/api/photos/reindex-city.get.ts
@@ -1,8 +1,4 @@
-import { isNull, and, isNotNull, sql, eq } from 'drizzle-orm'
-import {
- extractLocationFromGPS,
- parseGPSCoordinates,
-} from '~~/server/services/location/geocoding'
+import { isNotNull } from 'drizzle-orm'
export default eventHandler(async (event) => {
await requireUserSession(event)
diff --git a/server/api/photos/reindex-city.post.ts b/server/api/photos/reindex-city.post.ts
index ba997396..ab4c245c 100644
--- a/server/api/photos/reindex-city.post.ts
+++ b/server/api/photos/reindex-city.post.ts
@@ -1,4 +1,4 @@
-import { isNull, and, isNotNull, sql, eq } from 'drizzle-orm'
+import { isNotNull, eq } from 'drizzle-orm'
import {
extractLocationFromGPS,
parseGPSCoordinates,