Skip to content

Commit

Permalink
Merge pull request #30 from SAIG-KMITL/dev
Browse files Browse the repository at this point in the history
fix: generate-roadmap request body
  • Loading branch information
pawito236 authored Nov 27, 2024
2 parents 93a0f9b + 853f7a5 commit edd27a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions models/roadmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class Course(BaseModel):
id: str
title: str
description: str
thumbnail: str
thumbnailKey: str
teacherId: str
duration: int
level: str
price: float
Expand Down Expand Up @@ -62,7 +63,8 @@ class Config:
"id": "fa51a450-f8b0-42a3-93f4-cc780b1cc5d8",
"title": "Introduction to Programming",
"description": "This course is an introduction to programming",
"thumbnail": "https://www.example.com/thumbnail.jpg",
"thumbnailKey": "https://www.example.com/thumbnail.jpg",
"teacherId": "teacherId-123",
"duration": 60,
"level": "beginner",
"price": 100,
Expand Down

0 comments on commit edd27a9

Please sign in to comment.