Skip to content

Commit

Permalink
Merge pull request #299 from Gerson2102/fix-create-quiz
Browse files Browse the repository at this point in the history
Fixing endpoint in create_quiz.rs file
  • Loading branch information
Marchand-Nicolas authored Oct 26, 2024
2 parents 13db99f + 893b3b0 commit a932f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/admin/quiz/create_quiz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub async fn handler(
cta: body.cta.clone(),
quest_id: body.quest_id.clone(),
id: next_id.clone(),
verify_endpoint: "/quests/verify_quiz".to_string(),
verify_endpoint: "quests/verify_quiz".to_string(),
verify_endpoint_type: "quiz".to_string(),
quiz_name: Some(next_quiz_id.clone() as i64),
task_type: Some("quiz".to_string()),
Expand Down

0 comments on commit a932f10

Please sign in to comment.