From a66391e925ce29090accfb13853fea459c69bf10 Mon Sep 17 00:00:00 2001 From: Sidney Gomes Date: Thu, 23 Jul 2026 10:50:28 -0300 Subject: [PATCH] fix: return thumbnail instead of non-existent thumbnailUrl in /api/courses route --- server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server.ts b/server.ts index 51ebe0c..37c4f91 100644 --- a/server.ts +++ b/server.ts @@ -361,8 +361,7 @@ app.get('/api/courses', authenticateToken, async (req: AuthenticatedRequest, res id: course.id, title: course.title, description: course.description, - thumbnailUrl: course.thumbnailUrl, - videoUrl: course.videoUrl, + thumbnail: course.thumbnail, isLocked: course.isLocked, price: course.price, category: course.category,