Skip to content

Commit

Permalink
Merge pull request #369 from aidenwong812/fix-362
Browse files Browse the repository at this point in the history
Fix: Include api_url and regex fields in /admin/quest/get_tasks response
  • Loading branch information
Marchand-Nicolas authored Jan 23, 2025
2 parents 6cba48f + ff9e1e0 commit bb3ff08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/endpoints/admin/quest/get_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub struct UserTask {
quiz_name: Option<i64>,
task_type: Option<String>,
discord_guild_id: Option<String>,
api_url: Option<String>,
regex: Option<String>,
}

#[derive(Deserialize)]
Expand Down Expand Up @@ -83,6 +85,8 @@ pub async fn handler(
"quiz_name": 1,
"task_type":1,
"discord_guild_id": 1,
"api_url": 1,
"regex": 1,
}
},
];
Expand Down

0 comments on commit bb3ff08

Please sign in to comment.