fix: return thumbnail instead of non-existent thumbnailUrl in /api/courses route
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m14s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m14s
Details
This commit is contained in:
parent
d79792898d
commit
a66391e925
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue