Skip to content

Commit

Permalink
update question json example
Browse files Browse the repository at this point in the history
  • Loading branch information
KavikaPalletenne committed Nov 5, 2024
1 parent 1bfb005 commit 2d1eef7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion backend/server/src/models/question.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,23 @@ use snowflake::SnowflakeIdGenerator;
/// "required": true,
/// "question_type": "MultiChoice",
/// "data": {
/// "options": ["Rust", "Java", "TypeScript"]
/// "options": [
/// {
/// "id": 7233828375387640938,
/// "order": 1,
/// "text": "Rust"
/// },
/// {
/// "id": 7233828375387640954,
/// "order": 2,
/// "text": "Java"
/// },
/// {
/// "id": 7233828375387640374,
/// "order": 3,
/// "text": "TypeScript"
/// }
/// ]
/// },
/// "created_at": "2024-06-28T16:29:04.644008111Z",
/// "updated_at": "2024-06-30T12:14:12.458390190Z"
Expand Down

0 comments on commit 2d1eef7

Please sign in to comment.