diff --git a/.replit b/.replit index 9eb5d4c..2d8a3dc 100644 --- a/.replit +++ b/.replit @@ -40,4 +40,4 @@ args = "npm run dev" waitForPort = 5000 [agent] -integrations = ["javascript_google_analytics==1.0.0", "javascript_database==1.0.0"] +integrations = ["javascript_database==1.0.0", "javascript_google_analytics==1.0.0"] diff --git a/server/storage.ts b/server/storage.ts index c8b1303..c272fca 100644 --- a/server/storage.ts +++ b/server/storage.ts @@ -797,7 +797,7 @@ class BunnyStorage implements IStorage { async getVideos(limit = 20, offset = 0, search?: string): Promise { console.log(`Fetching videos from cache: limit=${limit}, offset=${offset}, search=${search}`); - const result = await videoSyncService.getVideos(limit, offset, search); + const result = videoSyncService.getVideos(limit, offset, search); console.log(`Returning ${result.videos.length} videos from cache (age: ${result.cacheAge}ms)`); // Apply face detection data from cache @@ -808,18 +808,36 @@ class BunnyStorage implements IStorage { } async getVideo(id: string): Promise